summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_math.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-05-29 10:29:46 +0400
committerAlexander Barkov <bar@mariadb.org>2017-05-29 10:29:46 +0400
commit8b68263a531bf6926afea71fe6eaf2ffd5a85049 (patch)
tree18f856a87aa714ddc48e292c0bded53faf95e08c /mysql-test/t/func_math.test
parent0f0bced885d6a6e6e494f227ac36419dd7bd3f80 (diff)
downloadmariadb-git-8b68263a531bf6926afea71fe6eaf2ffd5a85049.tar.gz
MDEV-12803 Improve function parameter data type control
Diffstat (limited to 'mysql-test/t/func_math.test')
-rw-r--r--mysql-test/t/func_math.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test
index ff8d6bba46d..ee70102c496 100644
--- a/mysql-test/t/func_math.test
+++ b/mysql-test/t/func_math.test
@@ -352,10 +352,10 @@ DROP TABLE t1;
--echo # Bug#11764994 57900: CREATE TABLE .. SELECT ASSERTS SCALE >= 0 && PRECISION > 0 && SCALE <= PR
--echo #
+--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
CREATE TABLE t1 SELECT CEIL(LINESTRINGFROMWKB(1) DIV NULL);
-DROP TABLE t1;
+--error ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION
CREATE TABLE t1 SELECT FLOOR(LINESTRINGFROMWKB(1) DIV NULL);
-DROP TABLE t1;
--echo #
--echo # Bug#11765923 58937: MANY VALGRIND ERRORS AFTER GROUPING BY RESULT OF DECIMAL COLUMN FUNCTION