mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-31005: Make working cursor-protocol
Updated tests: cases with bugs or which cannot be run with the cursor-protocol were excluded with "--disable_cursor_protocol"/"--enable_cursor_protocol" Fix for v.10.5
This commit is contained in:
@ -20,7 +20,9 @@ create table t2 ( t2id int unsigned, id int unsigned, primary key(t2id, id), for
|
||||
--disable_view_protocol
|
||||
insert into t1 values (1);
|
||||
insert into t2 values (1,1);
|
||||
--disable_cursor_protocol
|
||||
select * from t2;
|
||||
--enable_cursor_protocol
|
||||
show status like "Qcache_queries_in_cache";
|
||||
|
||||
delete from t1;
|
||||
@ -41,7 +43,9 @@ create table `t2$ї` ( t2id int unsigned, id int unsigned, primary key(t2id, id)
|
||||
|
||||
insert into `t1$ї` values (1);
|
||||
insert into `t2$ї`values (1,1);
|
||||
--disable_cursor_protocol
|
||||
select * from `t2$ї`;
|
||||
--enable_cursor_protocol
|
||||
show status like "Qcache_queries_in_cache";
|
||||
|
||||
delete from `t1$ї`;
|
||||
@ -63,7 +67,9 @@ create table `#mysql50#t-2` ( t2id int unsigned, id int unsigned, primary key(t2
|
||||
|
||||
insert into `#mysql50#t-1` values (1);
|
||||
insert into `#mysql50#t-2`values (1,1);
|
||||
--disable_cursor_protocol
|
||||
select * from `#mysql50#t-2`;
|
||||
--enable_cursor_protocol
|
||||
show status like "Qcache_queries_in_cache";
|
||||
|
||||
delete from `#mysql50#t-1`;
|
||||
|
Reference in New Issue
Block a user