mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for Bug #9318 drop database does not drop ndb tables
This commit is contained in:
27
mysql-test/r/ndb_database.result
Normal file
27
mysql-test/r/ndb_database.result
Normal file
@ -0,0 +1,27 @@
|
||||
drop table if exists t1;
|
||||
drop database if exists mysqltest;
|
||||
drop table if exists t1;
|
||||
drop database if exists mysqltest;
|
||||
create database mysqltest;
|
||||
create database mysqltest;
|
||||
create table mysqltest.t1 (a int primary key, b int) engine=ndb;
|
||||
use mysqltest;
|
||||
show tables;
|
||||
Tables_in_mysqltest
|
||||
t1
|
||||
drop database mysqltest;
|
||||
use mysqltest;
|
||||
show tables;
|
||||
Tables_in_mysqltest
|
||||
create database mysqltest;
|
||||
create table mysqltest.t1 (c int, d int primary key) engine=ndb;
|
||||
use mysqltest;
|
||||
show tables;
|
||||
Tables_in_mysqltest
|
||||
t1
|
||||
drop database mysqltest;
|
||||
use mysqltest;
|
||||
show tables;
|
||||
Tables_in_mysqltest
|
||||
drop table if exists t1;
|
||||
drop database if exists mysqltest;
|
Reference in New Issue
Block a user