diff options
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 1f9c31518..4877471c7 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -159,7 +159,7 @@ sub _handle_error { # Cut down the error string to a reasonable size $_[0] = substr($_[0], 0, 2000) . ' ... ' . substr($_[0], -2000) if length($_[0]) > 4000; - $_[0] = Carp::longmess($_[0]); + # BMO: stracktrace disabled: $_[0] = Carp::longmess($_[0]); return 0; # Now let DBI handle raising the error } @@ -1384,7 +1384,7 @@ sub _bz_real_schema { return $self->{private_real_schema} if exists $self->{private_real_schema}; my ($data, $version) = $self->selectrow_array( - "SELECT schema_data, version FROM bz_schema"); + "SELECT SQL_CACHE schema_data, version FROM bz_schema"); (die "_bz_real_schema tried to read the bz_schema table but it's empty!") if !$data; |