From: cyeh%bluemartini.com <> Date: Tue, 6 Jun 2000 01:08:13 +0000 (+0000) Subject: change db->query to db->do to be compatible with latest version of DBI and X-Git-Tag: bugzilla-2.12~285 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae9e7f35aeccd0c20dc3eed49da90815b255b24;p=thirdparty%2Fbugzilla.git change db->query to db->do to be compatible with latest version of DBI and DBD. --- diff --git a/syncshadowdb b/syncshadowdb index f5c4312666..a78c18729a 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 " .