Current Path : /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 : //usr/opt/mysql57/mysql-test/suite/ndb/t/ndb_dd_restore_compat.test |
# 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 # Directory containing the saved backup files let $backup_data_dir=$MYSQL_TEST_DIR/suite/ndb/backups; --exec $NDB_RESTORE --no-defaults -b 1 -n 1 -p 1 -m -r $backup_data_dir/51_dd >> $NDB_TOOLS_OUTPUT --exec $NDB_RESTORE --no-defaults -e -b 1 -n 2 -p 1 -r $backup_data_dir/51_dd >> $NDB_TOOLS_OUTPUT # (priviliges differ on embedded and server so replace) --replace_column 19 # select * from information_schema.columns where table_name = "t1"; show create table t1; source show_attributes.inc; select * from t1 order by a1; # Since this is an _old_ table without tablespace # in .frm but with tablespace in engine -> do extra checks # that tablespace is still there after ALTER ALTER TABLE t1 ADD COLUMN c int; SHOW CREATE TABLE t1; FLUSH TABLES; SHOW CREATE TABLE t1; drop table t1; ALTER TABLESPACE ts DROP DATAFILE 'datafile.dat' ENGINE NDB; drop tablespace ts engine ndb; drop logfile group lg engine ndb;