server icon indicating copy to clipboard operation
server copied to clipboard

MDEV-24813 [poc] Signal full table lock when cond is NULL

Open mariadb-YuchenPei opened this issue 1 year ago • 1 comments
trafficstars

This is an initial patch for discussion.

Will work in the following minimal example

--source include/have_innodb.inc CREATE TABLE t (a INT PRIMARY KEY) ENGINE=InnoDB; insert into t values (42);

BEGIN; SELECT * FROM t LOCK IN SHARE MODE; # will acquire S lock COMMIT;

DROP TABLE t;

mariadb-YuchenPei avatar Aug 29 '24 05:08 mariadb-YuchenPei