diff options
author | lpsolit%gmail.com <> | 2009-01-25 12:42:51 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-01-25 12:42:51 +0000 |
commit | b2b03103bba9927d5f1b123e0ad7ae1e04149dc8 (patch) | |
tree | e4845cde1af1ada8ca0d43e8c42be6d589e9a936 /query.cgi | |
parent | 812ad9b3515aff6d9d870c2a11845b7416e40288 (diff) | |
download | bugs-b2b03103bba9927d5f1b123e0ad7ae1e04149dc8.tar bugs-b2b03103bba9927d5f1b123e0ad7ae1e04149dc8.tar.gz bugs-b2b03103bba9927d5f1b123e0ad7ae1e04149dc8.tar.bz2 bugs-b2b03103bba9927d5f1b123e0ad7ae1e04149dc8.tar.xz bugs-b2b03103bba9927d5f1b123e0ad7ae1e04149dc8.zip |
Bug 471880: More scripts should use the shadow DB instead of the master DB - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -96,6 +96,9 @@ if ($cgi->param('nukedefaultquery')) { $buffer = ""; } +# We are done with changes committed to the DB. +$dbh = Bugzilla->switch_to_shadow_db; + my $userdefaultquery; if ($userid) { $userdefaultquery = $dbh->selectrow_array( |