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:
Daniel Black 2025-04-01 16:11:09 +11:00 committed by Sergei Golubchik
parent b316a7135b
commit 13dd073742

View File

@ -7,9 +7,6 @@ connection default;
set global federated_pushdown=1;
#Enable after fix MDEV-31846 or in v. 10.5 and later
--disable_cursor_protocol
connection slave;
DROP TABLE IF EXISTS federated.t1;
@ -165,11 +162,13 @@ insert into federated.t4 select * from federated.t1;
--sorted_result
select * from federated.t4;
--disable_cursor_protocol
select name into @var from federated.t1 where id=3 limit 1 ;
select @var;
--disable_ps2_protocol
select name into outfile 'tmp.txt' from federated.t1;
--enable_ps2_protocol
--enable_cursor_protocol
let $path=`select concat(@@datadir, 'test/tmp.txt')`;
remove_file $path;
@ -436,7 +435,5 @@ DEALLOCATE PREPARE stmt;
set global federated_pushdown=0;
--enable_cursor_protocol
source include/federated_cleanup.inc;