From 4ae9e7f35aeccd0c20dc3eed49da90815b255b24 Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" <> Date: Tue, 6 Jun 2000 01:08:13 +0000 Subject: change db->query to db->do to be compatible with latest version of DBI and DBD. --- syncshadowdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syncshadowdb') 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 " . -- cgit v1.2.3-24-g4f1b