#### suite/funcs_1/t/ndb_views.test

# ndb tables should be used
#
# 1. Check if ndb is available
--source include/have_ndb.inc
# 2. Set $engine_type
let $engine_type= ndb;

# Create some objects needed in many testcases
USE test;
--source suite/funcs_1/include/ndb_tb2.inc
--disable_warnings
DROP DATABASE IF EXISTS test1;
--enable_warnings
CREATE DATABASE test1;
USE test1;
--source suite/funcs_1/include/ndb_tb2.inc
USE test;

--source suite/funcs_1/views/views_master.inc
DROP DATABASE test1;
DROP TABLE test.tb2;