2008-03-07 17:33:07 +01:00
|
|
|
# suite/funcs_1/t/is_columns_ndb.test
|
|
|
|
#
|
|
|
|
# Check the content of information_schema.columns about tables within
|
|
|
|
# the databases created by the user.
|
|
|
|
# Variant for storage engine ndb
|
|
|
|
#
|
|
|
|
# Author:
|
|
|
|
# 2008-01-23 mleich WL#4203 Reorganize and fix the data dictionary tests of
|
|
|
|
# testsuite funcs_1
|
|
|
|
# Create this script based on older scripts and new code.
|
|
|
|
#
|
|
|
|
|
2008-06-16 20:39:58 +02:00
|
|
|
# This test cannot be used for the embedded server because we check here
|
|
|
|
# privileges.
|
|
|
|
--source include/not_embedded.inc
|
|
|
|
|
2008-03-07 17:33:07 +01:00
|
|
|
--source include/have_ndb.inc
|
|
|
|
let $engine_type= ndb;
|
|
|
|
--source suite/funcs_1/datadict/datadict_load.inc
|
|
|
|
|
|
|
|
# We look only for the tables created by datadict_load.inc.
|
|
|
|
let $my_where = WHERE table_schema LIKE 'test%';
|
|
|
|
--source suite/funcs_1/datadict/columns.inc
|
|
|
|
|
|
|
|
# This test runs with a different set of tables.
|
|
|
|
# --source suite/funcs_1/include/cleanup.inc
|
|
|
|
DROP DATABASE test1;
|
|
|
|
DROP DATABASE test4;
|
|
|
|
DROP TABLE test.t1;
|
|
|
|
DROP TABLE test.t2;
|
|
|
|
DROP TABLE test.t3;
|
|
|
|
DROP TABLE test.t4;
|
|
|
|
DROP TABLE test.t7;
|
|
|
|
DROP TABLE test.t8;
|
|
|
|
DROP TABLE test.t9;
|
|
|
|
DROP TABLE test.t10;
|
|
|
|
DROP TABLE test.t11;
|