Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8672a81b
Commit
8672a81b
authored
Sep 29, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to spcify start_lineno in die message, that is automatic
parent
828f30bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
client/mysqltest.c
client/mysqltest.c
+16
-16
No files found.
client/mysqltest.c
View file @
8672a81b
...
@@ -2072,8 +2072,8 @@ int do_save_master_pos()
...
@@ -2072,8 +2072,8 @@ int do_save_master_pos()
latest_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
latest_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
}
}
else
else
die
(
"
line %u:
result does not contain '%s' in '%s'"
,
die
(
"result does not contain '%s' in '%s'"
,
start_lineno
,
latest_epoch_str
,
query
);
latest_epoch_str
,
query
);
/* latest_trans_epoch */
/* latest_trans_epoch */
while
(
*
status
&&
strncmp
(
status
,
latest_trans_epoch_str
,
while
(
*
status
&&
strncmp
(
status
,
latest_trans_epoch_str
,
sizeof
(
latest_trans_epoch_str
)
-
1
))
sizeof
(
latest_trans_epoch_str
)
-
1
))
...
@@ -2084,8 +2084,8 @@ int do_save_master_pos()
...
@@ -2084,8 +2084,8 @@ int do_save_master_pos()
latest_trans_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
latest_trans_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
}
}
else
else
die
(
"
line %u:
result does not contain '%s' in '%s'"
,
die
(
"result does not contain '%s' in '%s'"
,
start_lineno
,
latest_trans_epoch_str
,
query
);
latest_trans_epoch_str
,
query
);
/* latest_received_binlog_epoch */
/* latest_received_binlog_epoch */
while
(
*
status
&&
while
(
*
status
&&
strncmp
(
status
,
latest_received_binlog_epoch_str
,
strncmp
(
status
,
latest_received_binlog_epoch_str
,
...
@@ -2097,8 +2097,8 @@ int do_save_master_pos()
...
@@ -2097,8 +2097,8 @@ int do_save_master_pos()
latest_received_binlog_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
latest_received_binlog_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
}
}
else
else
die
(
"
line %u:
result does not contain '%s' in '%s'"
,
die
(
"result does not contain '%s' in '%s'"
,
start_lineno
,
latest_received_binlog_epoch_str
,
query
);
latest_received_binlog_epoch_str
,
query
);
/* latest_handled_binlog */
/* latest_handled_binlog */
while
(
*
status
&&
while
(
*
status
&&
strncmp
(
status
,
latest_handled_binlog_epoch_str
,
strncmp
(
status
,
latest_handled_binlog_epoch_str
,
...
@@ -2110,8 +2110,8 @@ int do_save_master_pos()
...
@@ -2110,8 +2110,8 @@ int do_save_master_pos()
latest_handled_binlog_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
latest_handled_binlog_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
}
}
else
else
die
(
"
line %u:
result does not contain '%s' in '%s'"
,
die
(
"result does not contain '%s' in '%s'"
,
start_lineno
,
latest_handled_binlog_epoch_str
,
query
);
latest_handled_binlog_epoch_str
,
query
);
/* latest_applied_binlog_epoch */
/* latest_applied_binlog_epoch */
while
(
*
status
&&
while
(
*
status
&&
strncmp
(
status
,
latest_applied_binlog_epoch_str
,
strncmp
(
status
,
latest_applied_binlog_epoch_str
,
...
@@ -2123,16 +2123,16 @@ int do_save_master_pos()
...
@@ -2123,16 +2123,16 @@ int do_save_master_pos()
latest_applied_binlog_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
latest_applied_binlog_epoch
=
strtoull
(
status
,
(
char
**
)
0
,
10
);
}
}
else
else
die
(
"
line %u:
result does not contain '%s' in '%s'"
,
die
(
"result does not contain '%s' in '%s'"
,
start_lineno
,
latest_applied_binlog_epoch_str
,
query
);
latest_applied_binlog_epoch_str
,
query
);
if
(
count
==
0
)
if
(
count
==
0
)
start_epoch
=
latest_trans_epoch
;
start_epoch
=
latest_trans_epoch
;
break
;
break
;
}
}
}
}
if
(
!
row
)
if
(
!
row
)
die
(
"
line %u:
result does not contain '%s' in '%s'"
,
die
(
"result does not contain '%s' in '%s'"
,
start_lineno
,
binlog
,
query
);
binlog
,
query
);
if
(
latest_applied_binlog_epoch
>
applied_epoch
)
if
(
latest_applied_binlog_epoch
>
applied_epoch
)
count
=
0
;
count
=
0
;
applied_epoch
=
latest_applied_binlog_epoch
;
applied_epoch
=
latest_applied_binlog_epoch
;
...
...
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