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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f94c2c20
Commit
f94c2c20
authored
15 years ago
by
Staale Smedseng
Browse files
Options
Browse Files
Download
Plain Diff
Merge from 5.0-bugteam
parents
ed39e763
7fc1ab0b
Branches unavailable
Tags unavailable
Changes
1
Hide 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
))
...
...
This diff is collapsed.
Click to expand it.
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