You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-10-31 18:30:33 +03:00
update mtr test
This commit is contained in:
committed by
drrtuy
parent
30203350e2
commit
e824ae95f6
@@ -14,7 +14,4 @@ select count(i) from cs1 where idbPm('i') = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbSegmentDir('i') = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbSegment(i) = 1;
|
||||
count(i)
|
||||
0
|
||||
DROP DATABASE test_invalid_args;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
--source ../include/have_columnstore.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP DATABASE IF EXISTS test_invalid_args;
|
||||
CREATE DATABASE test_invalid_args;
|
||||
@@ -7,6 +9,7 @@ USE test_invalid_args;
|
||||
create table cs1(i bigint)engine=columnstore;
|
||||
|
||||
# incorrect args - idbpartition must receive column name and it received a string literal
|
||||
--source ../include/functions.inc
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbPartition('i') = '0.0.1';
|
||||
|
||||
@@ -24,8 +27,8 @@ select count(i) from cs1 where idbPm('i') = '0.0.1';
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbSegmentDir('i') = '0.0.1';
|
||||
--source ../include/drop_functions.inc
|
||||
|
||||
|
||||
#correct arguments
|
||||
select count(i) from cs1 where idbSegment(i) = 1;
|
||||
# Clean UP
|
||||
DROP DATABASE test_invalid_args;
|
||||
Reference in New Issue
Block a user