• malff/marcsql@weblab.(none)'s avatar
    WL#3602 (SET GLOBAL READONLY) · 070f5ad4
    malff/marcsql@weblab.(none) authored
    Bug#11733 (COMMITs should not happen if read-only is set)
    Bug#22009 (Can write to a read-only server under some circumstances)
    
    See the work log for details
    
    The change consist of
    a) acquiring the global read lock in SET GLOBAL READONLY
    b) honoring opt_readonly in ha_commit_trans(),
    c) honoring opt_readonly in mysql_lock_tables().
    
    a) takes care of the server stability,
    b) makes the transactional tables safe (Bug 11733)
    c) makes the non transactional tables safe (Bug 22009)
    070f5ad4
read_only.result 3.08 KB