mirror of
https://github.com/MariaDB/server.git
synced 2025-11-19 19:03:26 +03:00
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
9 lines
233 B
Plaintext
9 lines
233 B
Plaintext
#
|
|
# 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;
|