-- source include/have_ndb.inc
-- source include/not_embedded.inc

--disable_warnings
drop database if exists mysqltest;
--enable_warnings

#
# Check that all tables in a database are dropped when database is dropped
#

create database mysqltest;
create table mysqltest.t1 (a int primary key, b int) engine=ndb;
use mysqltest;
show tables;

drop database mysqltest;
create database mysqltest;
use mysqltest;
show tables;

drop database mysqltest;

# End of 4.1 tests
