mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
50 lines
1.3 KiB
Text
50 lines
1.3 KiB
Text
|
--echo #
|
||
|
--echo # Start of 10.3 tests
|
||
|
--echo #
|
||
|
|
||
|
|
||
|
--echo #
|
||
|
--echo # MDEV-13965 Parameter data type control for Item_longlong_func
|
||
|
--echo #
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT ROW(1,1) | 1;
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT 1 | ROW(1,1);
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT ROW(1,1) & 1;
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT 1 & ROW(1,1);
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT ROW(1,1) << 1;
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT 1 << ROW(1,1);
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT ROW(1,1) >> 1;
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT 1 >> ROW(1,1);
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT ~ROW(1,1);
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT TO_SECONDS(ROW(1,1));
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT TIMESTAMPDIFF(SECOND,ROW(1,1), 1);
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT TIMESTAMPDIFF(SECOND,1, ROW(1,1));
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT INET_ATON(ROW(1,1));
|
||
|
|
||
|
--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
|
||
|
SELECT LAST_INSERT_ID(ROW(1,1));
|
||
|
|
||
|
--echo #
|
||
|
--echo # End of 10.3 tests
|
||
|
--echo #
|