mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
dfb41fddf6
- IF EXISTS ends with a list of all not existing object, instead of a separate note for every not existing object - Produce a "Note" for all wrongly dropped objects (like trying to do DROP SEQUENCE for a normal table) - Do not write existing tables that could not be dropped to binlog Other things: MDEV-22820 Bogus "Unknown table" warnings produced upon attempt to drop parent table referenced by FK This was caused by an older version of this commit patch and later fixed
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
set global default_storage_engine=aria;
|
|
set session default_storage_engine=aria;
|
|
DROP TABLE if exists t1,t2;
|
|
Warnings:
|
|
Note 1051 Unknown table 'test.t1,test.t2'
|
|
create table t2(a blob) engine=aria;
|
|
create table t1(a int primary key) engine=aria;
|
|
insert into t2 values ('foo'),('bar');
|
|
select * from t2 left join t1 on (t2.a=t1.a) where t2.a='bbb';
|
|
a a
|
|
insert into t1 values (1);
|
|
select * from t2 left join t1 on (t2.a=t1.a) where t2.a='bbb';
|
|
a a
|
|
insert into t1 values (2);
|
|
select * from t2 left join t1 on (t2.a=t1.a) where t2.a='bbb';
|
|
a a
|
|
drop table t1,t2;
|
|
create table t2(a blob) engine= aria;
|
|
create table t1(a int primary key) engine= aria PARTITION BY HASH (a) PARTITIONS 2;
|
|
insert into t2 values ('foo'),('bar');
|
|
select * from t2 left join t1 on (t2.a=t1.a) where t2.a='bbb';
|
|
a a
|
|
insert into t1 values (1);
|
|
select * from t2 left join t1 on (t2.a=t1.a) where t2.a='bbb';
|
|
a a
|
|
insert into t1 values (2);
|
|
select * from t2 left join t1 on (t2.a=t1.a) where t2.a='bbb';
|
|
a a
|
|
drop table t1,t2;
|
|
CREATE TABLE t1 ( i INT ) ENGINE=Aria
|
|
PARTITION BY HASH(i) PARTITIONS 2;
|
|
ALTER TABLE t1 ADD PARTITION PARTITIONS 2;
|
|
drop table t1;
|