| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/mysql-test/suite/ndb/t/ |
Upload File : |
-- 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 18 # 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;