Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/ndb/t/ndb_dd_initial_lg.test |
--source include/have_ndb.inc # # BUG#11762867 # - show that system started with InitialLogFileGroup automatically allocated # extra reserved memory for use by the undo buffer select reserved, used from ndbinfo.resources where resource_name = 'DISK_OPERATIONS' order by node_id; # - show logfile group initial_lg1 was created select logfile_group_name, extra from information_schema.files where file_type = 'UNDO LOG' and file_name is null; # - show that the two undofiles was created select distinct file_name, initial_size from information_schema.files where file_type = 'UNDO LOG' and file_name is not null order by file_name; # - show basic usability of the auto created log file group create tablespace ts1 add datafile 'data1.dat' use logfile group initial_lg1 initial_size 20M engine = ndb; create table t1 ( a int primary key, b varchar(256) ) tablespace ts1 storage disk, engine = ndb; insert into t1 values (1, "initial log file test"); drop table t1; alter tablespace ts1 drop datafile 'data1.dat' engine=ndb; drop tablespace ts1 engine = ndb; drop logfile group initial_lg1 engine = ndb;