MDEV-31846: enable cursor protocol for test federatedx_create_handlers
Per comment it code - it can be removed 10.5+. Not in the comment, is the SELECT INTO ... parts still required cursor protocol exclusion.
This commit is contained in:
parent
b316a7135b
commit
13dd073742
@ -7,9 +7,6 @@ connection default;
|
|||||||
|
|
||||||
set global federated_pushdown=1;
|
set global federated_pushdown=1;
|
||||||
|
|
||||||
#Enable after fix MDEV-31846 or in v. 10.5 and later
|
|
||||||
--disable_cursor_protocol
|
|
||||||
|
|
||||||
connection slave;
|
connection slave;
|
||||||
|
|
||||||
DROP TABLE IF EXISTS federated.t1;
|
DROP TABLE IF EXISTS federated.t1;
|
||||||
@ -165,11 +162,13 @@ insert into federated.t4 select * from federated.t1;
|
|||||||
--sorted_result
|
--sorted_result
|
||||||
select * from federated.t4;
|
select * from federated.t4;
|
||||||
|
|
||||||
|
--disable_cursor_protocol
|
||||||
select name into @var from federated.t1 where id=3 limit 1 ;
|
select name into @var from federated.t1 where id=3 limit 1 ;
|
||||||
select @var;
|
select @var;
|
||||||
--disable_ps2_protocol
|
--disable_ps2_protocol
|
||||||
select name into outfile 'tmp.txt' from federated.t1;
|
select name into outfile 'tmp.txt' from federated.t1;
|
||||||
--enable_ps2_protocol
|
--enable_ps2_protocol
|
||||||
|
--enable_cursor_protocol
|
||||||
|
|
||||||
let $path=`select concat(@@datadir, 'test/tmp.txt')`;
|
let $path=`select concat(@@datadir, 'test/tmp.txt')`;
|
||||||
remove_file $path;
|
remove_file $path;
|
||||||
@ -436,7 +435,5 @@ DEALLOCATE PREPARE stmt;
|
|||||||
|
|
||||||
set global federated_pushdown=0;
|
set global federated_pushdown=0;
|
||||||
|
|
||||||
--enable_cursor_protocol
|
|
||||||
|
|
||||||
source include/federated_cleanup.inc;
|
source include/federated_cleanup.inc;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user