]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
change db->query to db->do to be compatible with latest version of DBI and
authorcyeh%bluemartini.com <>
Tue, 6 Jun 2000 01:08:13 +0000 (01:08 +0000)
committercyeh%bluemartini.com <>
Tue, 6 Jun 2000 01:08:13 +0000 (01:08 +0000)
DBD.

syncshadowdb

index f5c4312666960138a084a0bc738cc9f4a96c2909..a78c18729a91a7fadf778188849c3caa3cac6cea 100755 (executable)
@@ -195,7 +195,7 @@ $::dbwritesallowed = 1;
 # the shadowdb.  Note that this is carefully coded to ignore errors; we want
 # to keep going even on older mysqld's that don't have the
 # SQL_LOW_PRIORITY_UPDATES option.
-$::db->query("SET OPTION SQL_LOW_PRIORITY_UPDATES = 1"); 
+$::db->do("SET OPTION SQL_LOW_PRIORITY_UPDATES = 1"); 
 
 while (1) {
     SendSQL("SELECT id, command FROM $shadowtable WHERE reflected = 0 " .