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
55533a7e
Commit
55533a7e
authored
Apr 24, 2009
by
Satya B
Browse files
Options
Browse Files
Download
Plain Diff
merge to latest 5.0-bugteam tree
parents
4610c13a
e1b22ab9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+1
-1
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+3
-3
sql/sql_table.cc
sql/sql_table.cc
+10
-0
No files found.
mysql-test/r/mysqldump.result
View file @
55533a7e
...
@@ -3557,7 +3557,6 @@ DROP TABLE t1,t2;
...
@@ -3557,7 +3557,6 @@ DROP TABLE t1,t2;
-- Dump completed on DATE
-- Dump completed on DATE
SET @@GLOBAL.CONCURRENT_INSERT = @OLD_CONCURRENT_INSERT;
#
#
# Bug #42635: mysqldump includes views that were excluded using
# Bug #42635: mysqldump includes views that were excluded using
# the --ignore-table option
# the --ignore-table option
...
@@ -3693,6 +3692,7 @@ UNLOCK TABLES;
...
@@ -3693,6 +3692,7 @@ UNLOCK TABLES;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE `כדשגכחךלדגכחשךדגחכךלדגכ`;
DROP TABLE `כדשגכחךלדגכחשךדגחכךלדגכ`;
SET NAMES latin1;
SET NAMES latin1;
SET @@GLOBAL.CONCURRENT_INSERT = @OLD_CONCURRENT_INSERT;
#
#
# End of 5.0 tests
# End of 5.0 tests
#
#
mysql-test/t/mysqldump.test
View file @
55533a7e
...
@@ -1646,9 +1646,6 @@ DROP TABLE t1,t2;
...
@@ -1646,9 +1646,6 @@ DROP TABLE t1,t2;
--
replace_regex
/--
[
^
D
][
^
u
][
^
m
][
^
p
]
.*//
/
\
/
\
*!.*//
/
on
[
0
-
9
:-
]
+/
on
DATE
/
--
replace_regex
/--
[
^
D
][
^
u
][
^
m
][
^
p
]
.*//
/
\
/
\
*!.*//
/
on
[
0
-
9
:-
]
+/
on
DATE
/
--
exec
$MYSQL_DUMP
test
--
exec
$MYSQL_DUMP
test
# We reset concurrent_inserts value to whatever it was at the start of the test
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_CONCURRENT_INSERT
;
--
echo
#
--
echo
#
--
echo
# Bug #42635: mysqldump includes views that were excluded using
--
echo
# Bug #42635: mysqldump includes views that were excluded using
--
echo
# the --ignore-table option
--
echo
# the --ignore-table option
...
@@ -1681,6 +1678,9 @@ CREATE TABLE `כדשגכחךלדגכחשךדגחכךלדגכ` ( f1 INT );
...
@@ -1681,6 +1678,9 @@ CREATE TABLE `כדשגכחךלדגכחשךדגחכךלדגכ` ( f1 INT );
DROP
TABLE
`כדשגכחךלדגכחשךדגחכךלדגכ`
;
DROP
TABLE
`כדשגכחךלדגכחשךדגחכךלדגכ`
;
SET
NAMES
latin1
;
SET
NAMES
latin1
;
# We reset concurrent_inserts value to whatever it was at the start of the test
# This line must be executed _after_ all test cases.
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_CONCURRENT_INSERT
;
--
echo
#
--
echo
#
--
echo
# End of 5.0 tests
--
echo
# End of 5.0 tests
...
...
sql/sql_table.cc
View file @
55533a7e
...
@@ -4376,6 +4376,16 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables, HA_CHECK_OPT *check_opt)
...
@@ -4376,6 +4376,16 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables, HA_CHECK_OPT *check_opt)
{
{
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