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
f94c2c20
Commit
f94c2c20
authored
Apr 23, 2009
by
Staale Smedseng
Browse files
Options
Browse Files
Download
Plain Diff
Merge from 5.0-bugteam
parents
ed39e763
7fc1ab0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
sql/sql_table.cc
sql/sql_table.cc
+10
-0
No files found.
sql/sql_table.cc
View file @
f94c2c20
...
@@ -7489,6 +7489,16 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables,
...
@@ -7489,6 +7489,16 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables,
{
{
for
(;;)
for
(;;)
{
{
if
(
thd
->
killed
)
{
/*
we've been killed; let handler clean up, and remove the
partial current row from the recordset (embedded lib)
*/
t
->
file
->
ha_rnd_end
();
thd
->
protocol
->
remove_last_row
();
goto
err
;
}
ha_checksum
row_crc
=
0
;
ha_checksum
row_crc
=
0
;
int
error
=
t
->
file
->
rnd_next
(
t
->
record
[
0
]);
int
error
=
t
->
file
->
rnd_next
(
t
->
record
[
0
]);
if
(
unlikely
(
error
))
if
(
unlikely
(
error
))
...
...
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