mysql5/mysql-5.7.27/mysql-test/suite/ndb/t/ndb_create_table.test

44 lines
1005 B
Plaintext

# The include statement below is a temp one for tests that are yet to
#be ported to run with InnoDB,
#but needs to be kept for tests that would need MyISAM in future.
--source include/force_myisam_default.inc
-- source include/have_ndb.inc
create table t1 (a int primary key)
engine NDB
comment='NDB_TABLE=NOLOGGING';
show warnings;
drop table t1;
--disable_warnings
create table t1 (a int primary key)
engine NDB
comment='NDB_TABLE=NOLOGGING=1,NOLOGGING';
--enable_warnings
show warnings;
drop table t1;
--disable_warnings
create table t1 (a int primary key)
engine NDB
comment='NDB_TABLE=NOLOGGING=a,NOLOGGING';
--enable_warnings
show warnings;
drop table t1;
--disable_warnings
create table t1 (a int primary key)
engine NDB
comment='NDB_TABLE=NOLOGGING,NOLOGGINGa';
--enable_warnings
show warnings;
drop table t1;
create table t1 (a int primary key,
b blob comment 'NDB_COLUMN=MAX_BLOB_PART_SIZE',
c blob)
engine NDB;
source show_attributes.inc;
drop table t1;