mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
76f0b94bb0
sql/sql_insert.cc: CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. ****** CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. sql/sql_table.cc: small cleanup ****** small cleanup
8 lines
233 B
Text
8 lines
233 B
Text
#
|
|
# 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;
|