Maybe mysql_deny_write should obtain a global read lock before setting
read_only=1
FLUSH TABLES WITH READ LOCK;
SET GLOBAL read_only = ON;
UNLOCK TABLES;
See http://bugs.mysql.com/22009 and http://bugs.mysql.com/bug.php?id=11733
Original issue reported on code.google.com by m...@pascalhofmann.de on 2 Nov 2008 at 10:59
Original issue reported on code.google.com by
m...@pascalhofmann.de
on 2 Nov 2008 at 10:59