• Staale Smedseng's avatar
    A fix for Bug#22891 "session level max_allowed_packet can be · e60c8c8b
    Staale Smedseng authored
    set but is ignored".
                                      
    This patch makes @@session.max_allowed_packed and
    @@session.net_buffer_length read-only as suggested in the bug
    report. The user will have to use SET GLOBAL (and reconnect)
    to alter the session values of these variables.
                                
    The error string ER_VARIABLE_IS_READONLY is introduced.
                                
    Tests are modified accordingly.
    e60c8c8b
set_var.h 41.7 KB