mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
28 lines
454 B
Text
28 lines
454 B
Text
|
|
# --
|
|
# -- Bug#26704: Failing DROP DATABASE brings mysql-client out of sync.
|
|
# --
|
|
|
|
DROP DATABASE IF EXISTS mysql_test;
|
|
|
|
CREATE DATABASE mysql_test;
|
|
CREATE TABLE mysql_test.t1(c INT);
|
|
use mysql_test;
|
|
|
|
chmod 000 mysql_test/t1.frm
|
|
|
|
DROP DATABASE mysql_test;
|
|
|
|
SELECT DATABASE();
|
|
DATABASE()
|
|
mysql_test
|
|
|
|
rm -f mysql_test/t1.MYD mysql_test/t1.MYI
|
|
chmod 666 mysql_test/t1.frm
|
|
rm -f mysql_test/t1.frm
|
|
|
|
DROP DATABASE mysql_test;
|
|
|
|
use test;
|
|
|
|
# -- End of Bug#26704.
|