1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Merge branch 'bb-10.10-all-builders' into bb-10.11-all-builder

This commit is contained in:
Lena Startseva
2022-09-28 13:57:55 +07:00
328 changed files with 2267 additions and 200 deletions

View File

@ -43,7 +43,7 @@ DROP TEMPORARY TABLE t1;
--echo #
--echo # Testing with temporary tables
--echo #
--disable_view_protocol
CREATE OR REPLACE TABLE t1 (a int);
CREATE OR REPLACE TEMPORARY TABLE t1 (a int);
CREATE OR REPLACE TEMPORARY TABLE t1 (a int, b int);
@ -103,6 +103,7 @@ create or replace table t1 as select a from (select a from t1) as t3;
--error ER_UPDATE_TABLE_USED
create or replace table t1 as select a from t2 where t2.a in (select a from t1);
drop table t1;
--enable_view_protocol
--echo #
--echo # Testing with normal tables
@ -125,6 +126,7 @@ CREATE OR REPLACE TABLE t1 AS SELECT 1;
SHOW CREATE TABLE t1;
DROP TABLE t1;
--disable_service_connection
# Using lock tables with CREATE OR REPLACE
CREATE OR REPLACE TABLE t1 (a int);
LOCK TABLES t1 write,t2 write;
@ -206,6 +208,7 @@ drop table t1,t3,t4;
--echo # Test the meta data locks are freed properly
--echo #
--disable_view_protocol
create database mysqltest2;
drop table if exists test.t1,mysqltest2.t2;
@ -303,7 +306,7 @@ select * from information_schema.metadata_lock_info
where table_schema!='mysql' or table_name not like 'innodb_%_stats';
create table t1 (i int);
drop table t1;
--enable_view_protocol
--echo #
--echo # Testing CREATE .. LIKE
@ -525,6 +528,7 @@ CREATE OR REPLACE TEMPORARY TABLE t2(c INT DEFAULT '');
SELECT * FROM t3;
UNLOCK TABLES;
DROP TABLE t3;
--enable_service_connection
--echo # End of 10.4 tests