mariadb/mysql-test/r/rpl_ndb_row_001.result

56 lines
1 KiB
Text
Raw Normal View History

Test case updates and new test cases added to CRBR BitKeeper/deleted/.del-rpl_row_multi_update3.test~fcf9a2234bd0f1b: Delete: mysql-test/t/rpl_row_multi_update3.test BitKeeper/deleted/.del-rpl_row_multi_update3.test~b366698f8379f38f: Delete: mysql-test/extra/rpl_tests/rpl_row_multi_update3.test BitKeeper/deleted/.del-rpl_row_multi_update3.result~1a3a8438eaaf11f2: Delete: mysql-test/r/rpl_row_multi_update3.result mysql-test/t/rpl_ndb_commit_afterflush.test: added comments mysql-test/r/rpl_ndb_commit_afterflush.result: New results file mysql-test/t/rpl_ddl.test: Added to skip default ndb engine mysql-test/t/rpl_ndb_ddl.test: new wrapper for ndb mysql-test/r/rpl_ndb_ddl.result: new wrapper for ndb mysql-test/t/rpl_insert_ignore.test: Added to skip ndb if default engine mysql-test/t/rpl_ndb_insert_ignore.test: New wrapper for ndb mysql-test/r/rpl_ndb_insert_ignore.result: New Results file mysql-test/t/rpl_multi_update2.test: Updated to skip ndb default engine + added comments mysql-test/t/rpl_ndb_multi_update2.test: New ndb wrapper for test case mysql-test/t/rpl_ndb_multi_update2-slave.opt: New slave option file to go with new NDB test wrapper mysql-test/r/rpl_ndb_multi_update2.result: New results file mysql-test/t/rpl_multi_update3.test: Updated to skip ndb default engine + added comments mysql-test/t/rpl_ndb_multi_update3.test: New ndb wrapper for test case mysql-test/r/rpl_ndb_multi_update3.result: New results file mysql-test/t/rpl_relayrotate.test: added comments and ability to sjip when ndb is default engine mysql-test/t/rpl_ndb_relayrotate.test: New wrapper for ndb mysql-test/t/rpl_ndb_relayrotate-slave.opt: New option file for ndb slave mysql-test/r/rpl_ndb_relayrotate.result: New results file mysql-test/t/rpl_loaddata.test: Updated mysql-test/t/rpl_multi_update.test: Updated mysql-test/t/rpl_relay_space_myisam.test: Updated mysql-test/t/rpl_row_001.test: Updated mysql-test/t/rpl_row_blob_myisam.test: Updated mysql-test/t/rpl_row_charset.test: Updated mysql-test/t/rpl_row_delayed_ins.test: Updated mysql-test/t/rpl_row_log.test: Updated mysql-test/t/rpl_row_UUID.test: Updated mysql-test/t/rpl_auto_increment.test: Updated mysql-test/t/rpl_commit_after_flush.test: Updated mysql-test/t/rpl_deadlock_innodb.test: Updated mysql-test/t/rpl_failed_optimize.test: Updated mysql-test/t/rpl_foreign_key_innodb.test: Updated mysql-test/t/rpl_insert_id_pk.test: Updated mysql-test/t/rpl_insert_id.test: Updated mysql-test/t/rpl_relay_space_innodb.test: Updated mysql-test/t/rpl_row_blob_innodb.test: Updated mysql-test/t/rpl_row_func003.test: Updated mysql-test/t/rpl_row_log_innodb.test: Updated mysql-test/t/rpl_row_sp002_innodb.test: Updated mysql-test/t/rpl_row_sp003.test: Updated mysql-test/t/rpl_row_sp006_InnoDB.test: Updated mysql-test/t/rpl_row_sp007_innodb.test: Updated mysql-test/t/rpl_ndb_row_001.test: New wrapper for ndb mysql-test/r/rpl_ndb_row_001.result: New results file mysql-test/t/rpl_ndb_UUID.test: New wrapper for ndb mysql-test/r/rpl_ndb_UUID.result: New results file mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test: Updated with order by mysql-test/r/rpl_row_delayed_ins.result: Updated results file mysql-test/t/rpl_ndb_charset.test: New wrapper for ndb mysql-test/r/rpl_ndb_charset.result: New results file mysql-test/t/rpl_row_until.test: Updated to skip when ndb is default. ndb bin logs are different size, so test would need to be rewitten for ndb mysql-test/t/rpl_row_max_relay_size.test: Updated mysql-test/t/rpl_row_sp008.test: Removed show binlog as it is not needed for test mysql-test/r/rpl_row_sp008.result: Updated results mysql-test/t/rpl_row_basic_11bugs.test: Removed show binlog as it is not needed for test mysql-test/r/rpl_row_basic_11bugs.result: Updated results BitKeeper/deleted/.del-rpl_ndb_max_relay_size.test~afa6834a51627676: Delete: mysql-test/t/rpl_ndb_max_relay_size.test BitKeeper/deleted/.del-rpl_ndb_max_relay_size.result~1e944e2782e270d8: Delete: mysql-test/r/rpl_ndb_max_relay_size.result mysql-test/t/disabled.def: Updated
2006-02-16 04:42:16 +01:00
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
CREATE TABLE t1 (word CHAR(20) NOT NULL);
Fix test cases to work with non-standard --vardir. Rename mix_innodb_myisam_binlog-master.opt; when the test was moved to separate stm/row test cases, the .opt were not moved along with it, causing a 60-second test duration because of default lock timeout :-( mysql-test/t/binlog_row_mix_innodb_myisam-master.opt: bk cp mysql-test/t/mix_innodb_myisam_binlog-master.opt mysql-test/t/binlog_row_mix_innodb_myisam-master.opt mysql-test/t/binlog_stm_mix_innodb_myisam-master.opt: Rename: mysql-test/t/mix_innodb_myisam_binlog-master.opt -> mysql-test/t/binlog_stm_mix_innodb_myisam-master.opt mysql-test/r/mysqlbinlog_base64.result: Fix test cases to work with non-standard --vardir. mysql-test/r/ndb_load.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_LD_INFILE.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_loaddata2.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_loaddata_m.result: Fix test cases to work with non-standard --vardir. mysql-test/t/loaddata.test: Fix test cases to work with non-standard --vardir. mysql-test/t/mysqlbinlog_base64.test: Fix test cases to work with non-standard --vardir. mysql-test/t/ndb_dd_dump.test: Fix test cases to work with non-standard --vardir. mysql-test/t/ndb_load.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_LD_INFILE.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_loaddata2.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_loaddata_m.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_loadfile.test: Fix test cases to work with non-standard --vardir. mysql-test/extra/rpl_tests/rpl_row_001.test: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_load_table_from_master.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_loadfile.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_ndb_row_001.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_row_001.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_row_loaddata_m.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_row_stop_middle_update.result: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_drop_db.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_load_table_from_master.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_row_stop_middle_update.test: Fix test cases to work with non-standard --vardir. mysql-test/extra/rpl_tests/rpl_row_UUID.test: Fix test cases to work with non-standard --vardir. mysql-test/extra/rpl_tests/rpl_row_blob.test: Fix test cases to work with non-standard --vardir. mysql-test/extra/rpl_tests/rpl_row_charset.test: Fix test cases to work with non-standard --vardir. mysql-test/extra/rpl_tests/rpl_row_func003.test: Fix test cases to work with non-standard --vardir. mysql-test/extra/rpl_tests/rpl_row_sp006.test: Fix test cases to work with non-standard --vardir. mysql-test/include/ndb_backup.inc: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_ndb_bank.result: Fix test cases to work with non-standard --vardir. mysql-test/r/rpl_ndb_sync.result: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_ndb_bank.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_ndb_sync.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_row_NOW.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_row_func002.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_row_sp001.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_row_sp011.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_row_trig001.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_row_trig003.test: Fix test cases to work with non-standard --vardir. mysql-test/t/rpl_sp004.test: Fix test cases to work with non-standard --vardir. mysql-test/t/show_check.test: Fix test cases to work with non-standard --vardir. mysql-test/include/partition_1.inc: Fix test cases to work with non-standard --vardir. mysql-test/include/partition_layout.inc: Fix test cases to work with non-standard --vardir. mysql-test/r/ndb_dd_backuprestore.result: Fix test cases to work with non-standard --vardir.
2006-02-22 10:07:54 +01:00
LOAD DATA INFILE '../std_data_ln/words.dat' INTO TABLE t1;
Test case updates and new test cases added to CRBR BitKeeper/deleted/.del-rpl_row_multi_update3.test~fcf9a2234bd0f1b: Delete: mysql-test/t/rpl_row_multi_update3.test BitKeeper/deleted/.del-rpl_row_multi_update3.test~b366698f8379f38f: Delete: mysql-test/extra/rpl_tests/rpl_row_multi_update3.test BitKeeper/deleted/.del-rpl_row_multi_update3.result~1a3a8438eaaf11f2: Delete: mysql-test/r/rpl_row_multi_update3.result mysql-test/t/rpl_ndb_commit_afterflush.test: added comments mysql-test/r/rpl_ndb_commit_afterflush.result: New results file mysql-test/t/rpl_ddl.test: Added to skip default ndb engine mysql-test/t/rpl_ndb_ddl.test: new wrapper for ndb mysql-test/r/rpl_ndb_ddl.result: new wrapper for ndb mysql-test/t/rpl_insert_ignore.test: Added to skip ndb if default engine mysql-test/t/rpl_ndb_insert_ignore.test: New wrapper for ndb mysql-test/r/rpl_ndb_insert_ignore.result: New Results file mysql-test/t/rpl_multi_update2.test: Updated to skip ndb default engine + added comments mysql-test/t/rpl_ndb_multi_update2.test: New ndb wrapper for test case mysql-test/t/rpl_ndb_multi_update2-slave.opt: New slave option file to go with new NDB test wrapper mysql-test/r/rpl_ndb_multi_update2.result: New results file mysql-test/t/rpl_multi_update3.test: Updated to skip ndb default engine + added comments mysql-test/t/rpl_ndb_multi_update3.test: New ndb wrapper for test case mysql-test/r/rpl_ndb_multi_update3.result: New results file mysql-test/t/rpl_relayrotate.test: added comments and ability to sjip when ndb is default engine mysql-test/t/rpl_ndb_relayrotate.test: New wrapper for ndb mysql-test/t/rpl_ndb_relayrotate-slave.opt: New option file for ndb slave mysql-test/r/rpl_ndb_relayrotate.result: New results file mysql-test/t/rpl_loaddata.test: Updated mysql-test/t/rpl_multi_update.test: Updated mysql-test/t/rpl_relay_space_myisam.test: Updated mysql-test/t/rpl_row_001.test: Updated mysql-test/t/rpl_row_blob_myisam.test: Updated mysql-test/t/rpl_row_charset.test: Updated mysql-test/t/rpl_row_delayed_ins.test: Updated mysql-test/t/rpl_row_log.test: Updated mysql-test/t/rpl_row_UUID.test: Updated mysql-test/t/rpl_auto_increment.test: Updated mysql-test/t/rpl_commit_after_flush.test: Updated mysql-test/t/rpl_deadlock_innodb.test: Updated mysql-test/t/rpl_failed_optimize.test: Updated mysql-test/t/rpl_foreign_key_innodb.test: Updated mysql-test/t/rpl_insert_id_pk.test: Updated mysql-test/t/rpl_insert_id.test: Updated mysql-test/t/rpl_relay_space_innodb.test: Updated mysql-test/t/rpl_row_blob_innodb.test: Updated mysql-test/t/rpl_row_func003.test: Updated mysql-test/t/rpl_row_log_innodb.test: Updated mysql-test/t/rpl_row_sp002_innodb.test: Updated mysql-test/t/rpl_row_sp003.test: Updated mysql-test/t/rpl_row_sp006_InnoDB.test: Updated mysql-test/t/rpl_row_sp007_innodb.test: Updated mysql-test/t/rpl_ndb_row_001.test: New wrapper for ndb mysql-test/r/rpl_ndb_row_001.result: New results file mysql-test/t/rpl_ndb_UUID.test: New wrapper for ndb mysql-test/r/rpl_ndb_UUID.result: New results file mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test: Updated with order by mysql-test/r/rpl_row_delayed_ins.result: Updated results file mysql-test/t/rpl_ndb_charset.test: New wrapper for ndb mysql-test/r/rpl_ndb_charset.result: New results file mysql-test/t/rpl_row_until.test: Updated to skip when ndb is default. ndb bin logs are different size, so test would need to be rewitten for ndb mysql-test/t/rpl_row_max_relay_size.test: Updated mysql-test/t/rpl_row_sp008.test: Removed show binlog as it is not needed for test mysql-test/r/rpl_row_sp008.result: Updated results mysql-test/t/rpl_row_basic_11bugs.test: Removed show binlog as it is not needed for test mysql-test/r/rpl_row_basic_11bugs.result: Updated results BitKeeper/deleted/.del-rpl_ndb_max_relay_size.test~afa6834a51627676: Delete: mysql-test/t/rpl_ndb_max_relay_size.test BitKeeper/deleted/.del-rpl_ndb_max_relay_size.result~1e944e2782e270d8: Delete: mysql-test/r/rpl_ndb_max_relay_size.result mysql-test/t/disabled.def: Updated
2006-02-16 04:42:16 +01:00
LOAD DATA LOCAL INFILE 'MYSQL_TEST_DIR/std_data/words.dat' INTO TABLE t1;
SELECT * FROM t1 ORDER BY word LIMIT 10;
word
Aarhus
Aarhus
Aarhus
Aarhus
Aaron
Aaron
Aaron
Aaron
Ababa
Ababa
STOP SLAVE;
SET PASSWORD FOR root@"localhost" = PASSWORD('foo');
START SLAVE;
SET PASSWORD FOR root@"localhost" = PASSWORD('');
CREATE TABLE t3(n INT);
INSERT INTO t3 VALUES(1),(2);
SELECT * FROM t3 ORDER BY n;
n
1
2
SELECT SUM(LENGTH(word)) FROM t1;
SUM(LENGTH(word))
1022
DROP TABLE t1,t3;
CREATE TABLE t1 (n INT) ENGINE=NDB;
RESET MASTER;
STOP SLAVE;
RESET SLAVE;
SELECT COUNT(*) FROM t1;
COUNT(*)
5000
LOCK TABLES t1 READ;
START SLAVE;
UNLOCK TABLES;
SELECT COUNT(*) FROM t1;
COUNT(*)
5000
DROP TABLE t1;
CREATE TABLE t1 (n INT);
INSERT INTO t1 VALUES(3456);
SELECT n FROM t1;
n
3456
DROP TABLE t1;