mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-12619 UNION creates excessive integer column types for integer literals
This commit is contained in:
@ -1238,7 +1238,7 @@ Table Op Msg_type Msg_text
|
||||
test.tab check status OK
|
||||
DROP TABLE tab;
|
||||
CREATE TABLE tab(c1 POINT NOT NULL,CONSTRAINT tab_const check(c1 > 0) ) ENGINE=InnoDB;
|
||||
ERROR HY000: Illegal parameter data types geometry and bigint for operation '>'
|
||||
ERROR HY000: Illegal parameter data types geometry and int for operation '>'
|
||||
CREATE TABLE tab(c1 POINT NOT NULL,CONSTRAINT tab_const check(CAST(c1 AS BINARY) > 0) ) ENGINE=InnoDB;
|
||||
CREATE SPATIAL INDEX idx1 ON tab(c1) ;
|
||||
SHOW CREATE TABLE tab;
|
||||
|
Reference in New Issue
Block a user