mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
worked around one bug in the new symlink code, but hit another
test case included ( drop) - currently fails, along with rpl000009 mysql-test/r/drop.result: new test mysql-test/t/drop.test: expose a bug in the new symlink table code sql/slave.cc: turn off symlink bit to avoid a bug sql/sql_repl.cc: turn off symlink bit to avoid a bug
This commit is contained in:
@ -1,2 +1,4 @@
|
||||
n
|
||||
1
|
||||
n
|
||||
4
|
||||
|
@ -10,3 +10,17 @@ insert into t1 values(2);
|
||||
create table t1(n int);
|
||||
drop table t1;
|
||||
select * from t1;
|
||||
|
||||
#now test for a bug in drop database - it is important that the name
|
||||
#of the table is the same as the name of the database - in the original
|
||||
#code this triggered a bug
|
||||
drop database if exists foo;
|
||||
create database foo;
|
||||
drop database if exists foo;
|
||||
create database foo;
|
||||
create table foo.foo (n int);
|
||||
insert into foo.foo values (4);
|
||||
select * from foo.foo;
|
||||
drop database if exists foo;
|
||||
create database foo;
|
||||
drop database foo;
|
||||
|
Reference in New Issue
Block a user