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
fix mtr according server updates
This commit is contained in:
committed by
Leonid Fedorov
parent
1d416bc6ed
commit
b62636a6ab
@ -1,9 +1,9 @@
|
||||
SET sql_mode=ORACLE;
|
||||
SET default_storage_engine=ColumnStore;
|
||||
SELECT DECODE(10);
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
|
||||
ERROR 42000: Incorrect parameter count in the call to native function 'DECODE'
|
||||
SELECT DECODE(10,10);
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
|
||||
ERROR 42000: Incorrect parameter count in the call to native function 'DECODE'
|
||||
SELECT DECODE(10,10,'x10');
|
||||
DECODE(10,10,'x10')
|
||||
x10
|
||||
@ -36,9 +36,9 @@ DROP TABLE decode;
|
||||
# MDEV-13863 sql_mode=ORACLE: DECODE does not treat two NULLs as equivalent
|
||||
#
|
||||
SELECT DECODE(10);
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
|
||||
ERROR 42000: Incorrect parameter count in the call to native function 'DECODE'
|
||||
SELECT DECODE(10,10);
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
|
||||
ERROR 42000: Incorrect parameter count in the call to native function 'DECODE'
|
||||
SELECT DECODE_ORACLE(10);
|
||||
ERROR 42000: Incorrect parameter count in the call to native function 'DECODE_ORACLE'
|
||||
SELECT DECODE_ORACLE(10,10);
|
||||
|
@ -1,8 +1,8 @@
|
||||
SET sql_mode=ORACLE;
|
||||
SET default_storage_engine=ColumnStore;
|
||||
--error ER_PARSE_ERROR
|
||||
--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
|
||||
SELECT DECODE(10);
|
||||
--error ER_PARSE_ERROR
|
||||
--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
|
||||
SELECT DECODE(10,10);
|
||||
|
||||
SELECT DECODE(10,10,'x10');
|
||||
@ -25,9 +25,9 @@ DROP TABLE decode;
|
||||
--echo # MDEV-13863 sql_mode=ORACLE: DECODE does not treat two NULLs as equivalent
|
||||
--echo #
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
|
||||
SELECT DECODE(10);
|
||||
--error ER_PARSE_ERROR
|
||||
--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
|
||||
SELECT DECODE(10,10);
|
||||
|
||||
--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
|
||||
|
Reference in New Issue
Block a user