Skip to content

Commit 13dd073

Browse files
grooverdanvuvova
authored andcommitted
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.
1 parent b316a71 commit 13dd073

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

mysql-test/suite/federated/federatedx_create_handlers.test

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ connection default;
77

88
set global federated_pushdown=1;
99

10-
#Enable after fix MDEV-31846 or in v. 10.5 and later
11-
--disable_cursor_protocol
12-
1310
connection slave;
1411

1512
DROP TABLE IF EXISTS federated.t1;
@@ -165,11 +162,13 @@ insert into federated.t4 select * from federated.t1;
165162
--sorted_result
166163
select * from federated.t4;
167164

165+
--disable_cursor_protocol
168166
select name into @var from federated.t1 where id=3 limit 1 ;
169167
select @var;
170168
--disable_ps2_protocol
171169
select name into outfile 'tmp.txt' from federated.t1;
172170
--enable_ps2_protocol
171+
--enable_cursor_protocol
173172

174173
let $path=`select concat(@@datadir, 'test/tmp.txt')`;
175174
remove_file $path;
@@ -436,7 +435,5 @@ DEALLOCATE PREPARE stmt;
436435

437436
set global federated_pushdown=0;
438437

439-
--enable_cursor_protocol
440-
441438
source include/federated_cleanup.inc;
442439

0 commit comments

Comments
 (0)