1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-8049 name_const() is not consistent about its signess

This commit is contained in:
Alexander Barkov
2018-06-22 11:28:02 +04:00
parent bcc2100f9d
commit 1abd877e2d
3 changed files with 36 additions and 0 deletions

View File

@ -1203,3 +1203,18 @@ SELECT INET_ATON("255.255.255.255.255.255.255.255");
--enable_ps_protocol
--disable_metadata
--echo #
--echo # MDEV-8049 name_const() is not consistent about its signess
--echo #
--enable_metadata
--disable_ps_protocol
SELECT 18446744073709551615 AS c1, name_const('a',18446744073709551615) AS c2;
--enable_ps_protocol
--disable_metadata
CREATE TABLE t1 AS SELECT 18446744073709551615 AS c1, name_const('a',18446744073709551615) AS c2;
SHOW CREATE TABLE t1;
SELECT * FROM t1;
DROP TABLE t1;