mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +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.
9 lines
266 B
Text
9 lines
266 B
Text
--source include/have_innodb.inc
|
|
#
|
|
# Bug #56716 InnoDB locks a record gap without locking the table
|
|
#
|
|
CREATE TABLE bug56716 (a INT PRIMARY KEY,b INT,c INT,INDEX(b)) ENGINE=InnoDB;
|
|
|
|
SELECT * FROM bug56716 WHERE b<=42 ORDER BY b DESC FOR UPDATE;
|
|
|
|
DROP TABLE bug56716;
|