You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
This patch adds MTR's --sorted_result option to make the tests outputs deterministic (#2107)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -25,6 +25,7 @@ CREATE TABLE t1(col1 INT, col2 INT, col3 CHAR(8)) ENGINE=Columnstore;
|
||||
--enable_result_log
|
||||
|
||||
#Validate data
|
||||
--sorted_result
|
||||
SELECT * FROM t1;
|
||||
SELECT COUNT(*) FROM t1;
|
||||
|
||||
|
@ -30,14 +30,16 @@ CREATE TABLE mcs51_db2.t_mcs (col1 INT, col2 INT, col3 CHAR(8)) ENGINE=Columnsto
|
||||
#Bulk load deom Innodb table
|
||||
SELECT COUNT(*) FROM mcs51_db1.t_innodb;
|
||||
--exec $MYSQL -q -e 'SELECT * FROM mcs51_db1.t_innodb;' -N | $MCS_CPIMPORT -s '\t' mcs51_db2 t_mcs >/dev/null
|
||||
SELECT * FROM mcs51_db2.t_mcs ORDER BY col1, col2;
|
||||
--sorted_result
|
||||
SELECT * FROM mcs51_db2.t_mcs;
|
||||
SELECT COUNT(*) FROM mcs51_db2.t_mcs;
|
||||
TRUNCATE mcs51_db2.t_mcs;
|
||||
|
||||
#Bulk load deom MyISAM table
|
||||
SELECT COUNT(*) FROM mcs51_db1.t_myisam;
|
||||
--exec $MYSQL -q -e 'SELECT * FROM mcs51_db1.t_myisam;' -N | $MCS_CPIMPORT -s '\t' mcs51_db2 t_mcs >/dev/null
|
||||
SELECT * FROM mcs51_db2.t_mcs ORDER BY col1, col2;
|
||||
--sorted_result
|
||||
SELECT * FROM mcs51_db2.t_mcs;
|
||||
SELECT COUNT(*) FROM mcs51_db2.t_mcs;
|
||||
TRUNCATE mcs51_db2.t_mcs;
|
||||
|
||||
|
Reference in New Issue
Block a user