mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
2682a280c8
storage/innobase/handler/handler0alter.cc: for NEWDATE key_type says unsigned, thus col->prtype says unsigned, but field->flags says signed. Use the same flag for value retrieval that was used for value storage.
14 lines
327 B
Text
14 lines
327 B
Text
--source include/have_innodb.inc
|
|
#
|
|
# Make sure http://bugs.mysql.com/41904 remains fixed.
|
|
#
|
|
|
|
-- source include/not_embedded.inc
|
|
|
|
CREATE TABLE bug41904 (id INT PRIMARY KEY, uniquecol CHAR(15)) ENGINE=InnoDB;
|
|
|
|
INSERT INTO bug41904 VALUES (1,NULL), (2,NULL);
|
|
|
|
CREATE UNIQUE INDEX ui ON bug41904 (uniquecol);
|
|
|
|
DROP TABLE bug41904;
|