mirror of
https://github.com/MariaDB/server.git
synced 2025-05-04 06:05:05 +03:00
fixed bugs in log seq - now starting to look good fixes for SHOW BINLOG EVENTS will push this one include/mysqld_error.h: merged errors from 3.23 mysql-test/mysql-test-run.sh: wrong quotes in --skip-test mysql-test/r/drop.result: updated test mysql-test/r/rpl_log.result: updated test mysql-test/t/drop.test: updated test mysql-test/t/rpl_log.test: fixed bugs in test case sql/item_sum.h: remove compiler warning about re-ordered initialization sql/log.cc: fixed a bunch of loq_seq bugs sql/log_event.cc: fixed log seq bugs, added info for Slave event in SHOW BINLOG EVENTS sql/share/czech/errmsg.txt: merged errors from 3.23 sql/share/danish/errmsg.txt: merged errors from 3.23 sql/share/dutch/errmsg.txt: merged errors from 3.23 sql/share/english/errmsg.txt: merged errors from 3.23 sql/share/estonian/errmsg.txt: merged errors from 3.23 sql/share/french/errmsg.txt: merged errors from 3.23 sql/share/german/errmsg.txt: merged errors from 3.23 sql/share/greek/errmsg.txt: merged errors from 3.23 sql/share/hungarian/errmsg.txt: merged errors from 3.23 sql/share/italian/errmsg.txt: merged errors from 3.23 sql/share/japanese/errmsg.txt: merged errors from 3.23 sql/share/korean/errmsg.txt: merged errors from 3.23 sql/share/norwegian-ny/errmsg.txt: merged errors from 3.23 sql/share/norwegian/errmsg.txt: merged errors from 3.23 sql/share/polish/errmsg.txt: merged errors from 3.23 sql/share/portuguese/errmsg.txt: merged errors from 3.23 sql/share/romanian/errmsg.txt: merged errors from 3.23 sql/share/russian/errmsg.txt: merged errors from 3.23 sql/share/slovak/errmsg.txt: merged errors from 3.23 sql/share/spanish/errmsg.txt: merged errors from 3.23 sql/share/swedish/errmsg.txt: merged errors from 3.23 sql/slave.cc: fixed log_seq bugs
44 lines
1002 B
Plaintext
44 lines
1002 B
Plaintext
drop table if exists t1;
|
|
drop table if exists t1;
|
|
--error 1051;
|
|
drop table t1;
|
|
create table t1(n int);
|
|
insert into t1 values(1);
|
|
create temporary table t1( n int);
|
|
insert into t1 values(2);
|
|
--error 1050;
|
|
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;
|
|
|
|
# test drop/create database and FLUSH TABLES WITH READ LOCK
|
|
drop database if exists foo;
|
|
flush tables with read lock;
|
|
--error 1209
|
|
create database foo;
|
|
unlock tables;
|
|
create database foo;
|
|
show databases;
|
|
flush tables with read lock;
|
|
--error 1208
|
|
drop database foo;
|
|
unlock tables;
|
|
drop database foo;
|
|
show databases;
|
|
|
|
|