mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch 'bb-10.3-all-builders' into bb-10.4-all-builders
This commit is contained in:
@ -44,7 +44,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);
|
||||
@ -104,6 +104,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
|
||||
@ -126,6 +127,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;
|
||||
@ -207,6 +209,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;
|
||||
@ -289,7 +292,7 @@ show tables;
|
||||
select * from information_schema.metadata_lock_info;
|
||||
create table t1 (i int);
|
||||
drop table t1;
|
||||
|
||||
--enable_view_protocol
|
||||
|
||||
--echo #
|
||||
--echo # Testing CREATE .. LIKE
|
||||
@ -506,5 +509,6 @@ 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
|
||||
|
Reference in New Issue
Block a user