MDEV-31933: Make working view-protocol + ps-protocol (running two protocols together)

Fix for v. 10.6
This commit is contained in:
Lena Startseva 2024-09-20 19:53:56 +07:00
parent ac5cbaff66
commit 71649b93cf

View file

@ -5780,9 +5780,12 @@ DROP TABLE t1;
CREATE TABLE t1 (f1 char(2), PRIMARY KEY (f1)) ENGINE=MyISAM;
INSERT INTO t1 VALUES ('u1'),('u2');
#Check and enable after fix MDEV-34895
--disable_ps2_protocol
SELECT a.* FROM t1 a WHERE ( SELECT EXISTS ( SELECT 1 FROM t1 b WHERE b.f1 = a.f1 ) );
FLUSH TABLES;
SELECT a.* FROM t1 a WHERE ( SELECT EXISTS ( SELECT 1 FROM t1 b WHERE b.f1 = a.f1 ) );
--enable_ps2_protocol
# Cleanup
DROP TABLE t1;