mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
22
mysql-test/main/non_blocking_api.test
Normal file
22
mysql-test/main/non_blocking_api.test
Normal file
@ -0,0 +1,22 @@
|
||||
# Test mixing the use of blocking and non-blocking API in a single connection.
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
||||
--enable_non_blocking_api
|
||||
connect (con_nonblock,localhost,root,,test);
|
||||
--disable_non_blocking_api
|
||||
connect (con_normal,localhost,root,,test);
|
||||
|
||||
connection con_nonblock;
|
||||
CREATE TABLE t1 (a INT PRIMARY KEY);
|
||||
--enable_non_blocking_api
|
||||
INSERT INTO t1 VALUES (1);
|
||||
--disable_non_blocking_api
|
||||
SELECT * FROM t1;
|
||||
--enable_non_blocking_api
|
||||
SELECT * FROM t1;
|
||||
|
||||
connection con_normal;
|
||||
DROP TABLE t1;
|
Reference in New Issue
Block a user