1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-14596 Crash in INTERVAL(ROW(..),ROW(..))

This commit is contained in:
Alexander Barkov
2017-12-08 14:40:27 +04:00
parent ac61a575df
commit 20089f5a39
4 changed files with 34 additions and 0 deletions

View File

@ -220,3 +220,12 @@ NULL
1,2,3,4,5,6,7
DROP TABLE t1;
#
# MDEV-14596 Crash in INTERVAL(ROW(..),ROW(..))
#
SELECT INTERVAL(ROW(1,1),ROW(1,2));
ERROR 21000: Operand should contain 1 column(s)
SELECT INTERVAL(1,ROW(1,2));
ERROR 21000: Operand should contain 1 column(s)
SELECT INTERVAL(ROW(1,2),1);
ERROR 21000: Operand should contain 1 column(s)