↧
Answer by zloctb for Mysql - Table lock error
MariaDB [test]> lock table super1 read;Query OK, 0 rows affected (0.00 sec)MariaDB [test]> select * from super1;+----+| id |+----+| 1 || 2 || 3 || 5 || 6 || 7 |+----+6 rows in set (0.00...
View ArticleAnswer by Mikrobi for Mysql - Table lock error
From mysql doc:Rules for Lock AcquisitionTo acquire table locks within the current session, use the LOCK TABLES statement. The following lock types are available:READ [LOCAL] lock:The session that...
View ArticleMysql - Table lock error
I am experiencing some problems with table locking. I have locked certain number of table in transaction. LOCK TABLES t1 READ, t2 READ, t3 READ, t4 READ,t5 READ,t6 READ,t7 READ;While reading its ok,...
View Article