mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Moved drop table statement to the end.
This commit is contained in:
parent
53a9af8f1d
commit
cc6a30214c
2 changed files with 2 additions and 1 deletions
|
@ -209,3 +209,4 @@ create table t2 (c1 int, c2 char(6));
|
|||
insert into t1 values (1, "t1c2-1", 10), (2, "t1c2-2", 20);
|
||||
update t1 left join t2 on t1.c1 = t2.c1 set t2.c2 = "t2c2-1";
|
||||
update t1 left join t2 on t1.c1 = t2.c1 set t2.c2 = "t2c2-1" where t1.c3 = 10;
|
||||
drop table t1, t2;
|
||||
|
|
|
@ -158,9 +158,9 @@ DROP TABLE t2;
|
|||
#
|
||||
# Bug #6054
|
||||
#
|
||||
drop table if exists t1, t2;
|
||||
create table t1 (c1 int, c2 char(6), c3 int);
|
||||
create table t2 (c1 int, c2 char(6));
|
||||
insert into t1 values (1, "t1c2-1", 10), (2, "t1c2-2", 20);
|
||||
update t1 left join t2 on t1.c1 = t2.c1 set t2.c2 = "t2c2-1";
|
||||
update t1 left join t2 on t1.c1 = t2.c1 set t2.c2 = "t2c2-1" where t1.c3 = 10;
|
||||
drop table t1, t2;
|
||||
|
|
Loading…
Add table
Reference in a new issue