summaryrefslogtreecommitdiffstats
path: root/syncshadowdb
diff options
context:
space:
mode:
authorcyeh%bluemartini.com <>2000-06-06 03:08:13 +0200
committercyeh%bluemartini.com <>2000-06-06 03:08:13 +0200
commit4ae9e7f35aeccd0c20dc3eed49da90815b255b24 (patch)
tree1deddb708c0bbd5691917f4327cb88579d8b35c3 /syncshadowdb
parentaae01c439df42dc3a9f22ab52e3ac9b80a1e9279 (diff)
downloadbugzilla-4ae9e7f35aeccd0c20dc3eed49da90815b255b24.tar.gz
bugzilla-4ae9e7f35aeccd0c20dc3eed49da90815b255b24.tar.xz
change db->query to db->do to be compatible with latest version of DBI and
DBD.
Diffstat (limited to 'syncshadowdb')
-rwxr-xr-xsyncshadowdb2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncshadowdb b/syncshadowdb
index f5c431266..a78c18729 100755
--- a/syncshadowdb
+++ b/syncshadowdb
@@ -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 " .