1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Auto-merge from mysql-next-mr-bugfixing.

This commit is contained in:
Alexander Nozdrin
2010-03-04 18:39:32 +03:00
249 changed files with 17513 additions and 2071 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1704,3 +1704,56 @@ unlock tables;
--echo # already released by commit.
handler t1 close;
drop tables t1, t2;
--echo #
--echo # Bug#51355 handler stmt cause assertion in
--echo # bool MDL_context::try_acquire_lock(MDL_request*)
--echo #
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
connect(con51355, localhost, root);
--echo # Connection default
connection default;
CREATE TABLE t1(id INT, KEY id(id));
HANDLER t1 OPEN;
--echo # Connection con51355
connection con51355;
--echo # Sending:
--send DROP TABLE t1
--echo # Connection default
connection default;
--echo # This I_S query will cause the handler table to be closed and
--echo # the metadata lock to be released. This will allow DROP TABLE
--echo # to proceed. Waiting for the table to be removed.
let $wait_condition=
SELECT COUNT(*) = 0 FROM information_schema.tables WHERE table_name = "t1";
--source include/wait_condition.inc
--echo # Connection con51355
connection con51355;
--echo # Reaping: DROP TABLE t1
--reap
--echo # Connection default
connection default;
--error ER_NO_SUCH_TABLE
HANDLER t1 READ id NEXT;
# This caused an assertion
--error ER_NO_SUCH_TABLE
HANDLER t1 READ id NEXT;
HANDLER t1 CLOSE;
--echo # Connection con51355
connection con51355;
disconnect con51355;
--source include/wait_until_disconnected.inc
--echo # Connection default
connection default;

View File

@@ -185,14 +185,6 @@ INSERT INTO global_suppressions VALUES
("Master server does not support or not configured semi-sync replication, fallback to asynchronous"),
(": The MySQL server is running with the --secure-backup-file-priv option so it cannot execute this statement"),
("Slave: Unknown table 't1' Error_code: 1051"),
/*
Transient network failures that cause warnings on reconnect.
BUG#47743 and BUG#47983.
*/
("Slave I/O: Get master SERVER_ID failed with error:.*"),
("Slave I/O: Get master clock failed with error:.*"),
("Slave I/O: Get master COLLATION_SERVER failed with error:.*"),
("Slave I/O: Get master TIME_ZONE failed with error:.*"),
/* Messages from valgrind */
("==[0-9]*== Memcheck,"),

View File

@@ -0,0 +1,4 @@
if (`SELECT @@binlog_format = 'ROW'`)
{
skip Test cannot run with binlog_format row;
}