mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
Manual merge from mysql-next-mr.
Conflicts: - sql/log_event.cc - sql/sql_class.h
This commit is contained in:
@@ -103,19 +103,19 @@ INSERT DELAYED INTO t1 VALUES('21');
|
||||
INSERT DELAYED INTO t1 VALUES('22');|
|
||||
** Connection con0 **
|
||||
Asynchronous execute
|
||||
SELECT COUNT(*) = 22 FROM t1;
|
||||
SELECT COUNT(*) BETWEEN 6 AND 22 FROM t1;
|
||||
** Connection default **
|
||||
** Wait till con0 is blocked **
|
||||
UNLOCK TABLES;
|
||||
** Connection con1 **
|
||||
** Connection con0 **
|
||||
Asynchronous "reap" result
|
||||
COUNT(*) = 22
|
||||
COUNT(*) BETWEEN 6 AND 22
|
||||
1
|
||||
** Connection default**
|
||||
Checking if the delayed insert gives the same result afterwards
|
||||
SELECT COUNT(*) = 22 FROM t1;
|
||||
COUNT(*) = 22
|
||||
SELECT COUNT(*) BETWEEN 6 AND 22 FROM t1;
|
||||
COUNT(*) BETWEEN 6 AND 22
|
||||
1
|
||||
** Connection default**
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user