diff --git a/mysql-test/main/grant_plugin.result b/mysql-test/main/grant_plugin.result index bf5b42b28b6..63bdd42853e 100644 --- a/mysql-test/main/grant_plugin.result +++ b/mysql-test/main/grant_plugin.result @@ -4,14 +4,12 @@ install soname 'auth_0x0100'; CREATE USER foo@localhost IDENTIFIED VIA auth_0x0100; uninstall plugin auth_0x0100; -select Priv from mysql.global_priv where User = "foo" and host="localhost" -into @priv; -Warnings: -Warning 1287 ' INTO FROM...' instead +create table t as select Priv from mysql.global_priv where User = "foo" and host="localhost"; SET PASSWORD FOR foo@localhost = "1111"; ERROR HY000: Plugin 'auth_0x0100' is not loaded -select Priv = @priv as "Nothing changed" from mysql.global_priv where User = "foo" and host="localhost"; +select global_priv.Priv = t.Priv as "Nothing changed" from mysql.global_priv join t where User = "foo" and host="localhost"; Nothing changed 1 +drop table t; DROP USER foo@localhost; # End of 10.5 tests diff --git a/mysql-test/main/grant_plugin.test b/mysql-test/main/grant_plugin.test index 610176b0ce7..7043e159e37 100644 --- a/mysql-test/main/grant_plugin.test +++ b/mysql-test/main/grant_plugin.test @@ -13,11 +13,12 @@ install soname 'auth_0x0100'; CREATE USER foo@localhost IDENTIFIED VIA auth_0x0100; uninstall plugin auth_0x0100; -select Priv from mysql.global_priv where User = "foo" and host="localhost" -into @priv; +create table t as select Priv from mysql.global_priv where User = "foo" and host="localhost"; --error ER_PLUGIN_IS_NOT_LOADED SET PASSWORD FOR foo@localhost = "1111"; -select Priv = @priv as "Nothing changed" from mysql.global_priv where User = "foo" and host="localhost"; +select global_priv.Priv = t.Priv as "Nothing changed" from mysql.global_priv join t where User = "foo" and host="localhost"; + +drop table t; DROP USER foo@localhost; diff --git a/mysql-test/main/loaddata.test b/mysql-test/main/loaddata.test index a625415ad8e..a7a6e2bcfcb 100644 --- a/mysql-test/main/loaddata.test +++ b/mysql-test/main/loaddata.test @@ -843,10 +843,12 @@ CREATE OR REPLACE TABLE t1 ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO t1 VALUES (GeomFromText('POINT(37.646944 -75.761111)')); +--disable_cursor_protocol --disable_ps2_protocol --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR eval SELECT * INTO OUTFILE '$MYSQLTEST_VARDIR/tmp/t1.tsv' FROM t1; --enable_ps2_protocol +--enable_cursor_protocol CREATE OR REPLACE TABLE t2 LIKE t1; @@ -863,10 +865,12 @@ CREATE OR REPLACE TABLE t1 ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO t1 VALUES (GeomFromText('POINT(37.646944 -75.761111)'),"їєі"); +--disable_cursor_protocol --disable_ps2_protocol --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR eval SELECT * INTO OUTFILE '$MYSQLTEST_VARDIR/tmp/t1.tsv' FROM t1; --enable_ps2_protocol +--enable_cursor_protocol CREATE OR REPLACE TABLE t2 LIKE t1; diff --git a/mysql-test/suite/innodb_fts/r/fulltext.result b/mysql-test/suite/innodb_fts/r/fulltext.result index 54725f489fa..1605a591582 100644 --- a/mysql-test/suite/innodb_fts/r/fulltext.result +++ b/mysql-test/suite/innodb_fts/r/fulltext.result @@ -794,10 +794,10 @@ title VARCHAR(200), book VARCHAR(200), FULLTEXT fidx(title)) ENGINE = InnoDB; INSERT INTO t1(title) VALUES('database'); ALTER TABLE t1 DROP INDEX fidx; -select space into @common_space from information_schema.innodb_sys_tables where name like "test/FTS_%_CONFIG"; +create table t2 as select space from information_schema.innodb_sys_tables where name like "test/FTS_%_CONFIG"; ALTER TABLE t1 ADD FULLTEXT fidx_1(book); -select space=@common_space from information_schema.innodb_sys_tables where name like "test/FTS_%_CONFIG"; -space=@common_space +select i_s.space=t2.space from information_schema.innodb_sys_tables i_s join t2 where name like "test/FTS_%_CONFIG"; +i_s.space=t2.space 1 SHOW CREATE TABLE t1; Table Create Table @@ -808,4 +808,5 @@ t1 CREATE TABLE `t1` ( PRIMARY KEY (`ID`), FULLTEXT KEY `fidx_1` (`book`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci -DROP TABLE t1; +DROP TABLE t1, t2; +# End of 10.5 tests diff --git a/mysql-test/suite/innodb_fts/t/fulltext.test b/mysql-test/suite/innodb_fts/t/fulltext.test index 02a9f32dbed..4c7b69d8ee3 100644 --- a/mysql-test/suite/innodb_fts/t/fulltext.test +++ b/mysql-test/suite/innodb_fts/t/fulltext.test @@ -814,8 +814,10 @@ CREATE TABLE t1 ( FULLTEXT fidx(title)) ENGINE = InnoDB; INSERT INTO t1(title) VALUES('database'); ALTER TABLE t1 DROP INDEX fidx; -select space into @common_space from information_schema.innodb_sys_tables where name like "test/FTS_%_CONFIG"; +create table t2 as select space from information_schema.innodb_sys_tables where name like "test/FTS_%_CONFIG"; ALTER TABLE t1 ADD FULLTEXT fidx_1(book); -select space=@common_space from information_schema.innodb_sys_tables where name like "test/FTS_%_CONFIG"; +select i_s.space=t2.space from information_schema.innodb_sys_tables i_s join t2 where name like "test/FTS_%_CONFIG"; SHOW CREATE TABLE t1; -DROP TABLE t1; +DROP TABLE t1, t2; + +--echo # End of 10.5 tests