1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-3741 dev Change mtr IDB-xxx error codes to MCS-xxxx

This commit is contained in:
David Hall
2021-08-10 11:59:22 -05:00
parent ecde2719b1
commit d1ef83c0f4
39 changed files with 131 additions and 131 deletions

View File

@ -26,12 +26,12 @@ SELECT COUNT(*) FROM t1;
TRUNCATE t1;
#Unknown db
#Error getting OID for table unknown.t1: IDB-2006: 'unknown.t1' does not exist in Columnstore.
#Error getting OID for table unknown.t1: MCS-2006: 'unknown.t1' does not exist in Columnstore.
--error 1
--exec cat $MTR_SUITE_DIR/../100Krows.dat | $MCS_CPIMPORT unknown t1 >/dev/null
#Unknown table
#Error getting OID for table mcs50_db.unknown: IDB-2006: 'mcs50_db.unknown' does not exist in Columnstore.
#Error getting OID for table mcs50_db.unknown: MCS-2006: 'mcs50_db.unknown' does not exist in Columnstore.
--error 1
--exec cat $MTR_SUITE_DIR/../std_data/100Krows.dat | $MCS_CPIMPORT mcs50_db unknown >/dev/null

View File

@ -40,7 +40,7 @@ exec $MCS_CPIMPORT nonexist_db t1 /tmp/nonexisting.dat 2>&1 | tee /tmp/mcs56.out
exec echo "";
exec echo "Check for the correct error message:";
exec grep -q "IDB-2006: 'nonexist_db.t1' does not exist in Columnstore." /tmp/mcs56.out;
exec grep -q "MCS-2006: 'nonexist_db.t1' does not exist in Columnstore." /tmp/mcs56.out;
# Negative. Non-existing table.
@ -50,7 +50,7 @@ exec $MCS_CPIMPORT mcs56_db nonexist_tbl /tmp/nonexisting.dat 2>&1 | tee /tmp/mc
exec echo "";
exec echo "Check for the correct error message:";
exec grep -q "IDB-2006: 'mcs56_db.nonexist_tbl' does not exist in Columnstore." /tmp/mcs56.out;
exec grep -q "MCS-2006: 'mcs56_db.nonexist_tbl' does not exist in Columnstore." /tmp/mcs56.out;
# Clean UP
DROP DATABASE mcs56_db;