Commit 4ae9e7f3 authored by cyeh%bluemartini.com's avatar cyeh%bluemartini.com

change db->query to db->do to be compatible with latest version of DBI and

DBD.
parent aae01c43
......@@ -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 " .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment