• Yuchen Pei's avatar
    MDEV-24813 [poc] Signal full table lock when cond is NULL · 075f5978
    Yuchen Pei authored
    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;
    075f5978
records.cc 24.9 KB