Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
4ae9e7f3
Commit
4ae9e7f3
authored
Jun 06, 2000
by
cyeh%bluemartini.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change db->query to db->do to be compatible with latest version of DBI and
DBD.
parent
aae01c43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
syncshadowdb
syncshadowdb
+1
-1
No files found.
syncshadowdb
View file @
4ae9e7f3
...
@@ -195,7 +195,7 @@ $::dbwritesallowed = 1;
...
@@ -195,7 +195,7 @@ $::dbwritesallowed = 1;
# the shadowdb. Note that this is carefully coded to ignore errors; we want
# 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
# to keep going even on older mysqld's that don't have the
# SQL_LOW_PRIORITY_UPDATES option.
# 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
)
{
while
(
1
)
{
SendSQL
(
"SELECT id, command FROM $shadowtable WHERE reflected = 0 "
.
SendSQL
(
"SELECT id, command FROM $shadowtable WHERE reflected = 0 "
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment