summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2013-06-26 16:19:25 +0200
committerByron Jones <bjones@mozilla.com>2013-06-26 16:19:25 +0200
commit9d3130154ff65e76f221dc66c631951baab17bba (patch)
tree32d46ca3754e5eceea49488dd2e27c7c350c8712 /Bugzilla
parent38577d69738bb33f0c43d5346a1c4abebee975fa (diff)
downloadbugzilla-9d3130154ff65e76f221dc66c631951baab17bba.tar.gz
bugzilla-9d3130154ff65e76f221dc66c631951baab17bba.tar.xz
Bug 887114: Update Bugzilla/DB.pm to use SQL_CACHE for bz_schema table access
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 5eb44c403..4877471c7 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -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;