• Kristofer Pettersson's avatar
    Bug#21226 FLUSH PRIVILEGES does not provided feedback when it fails. · ccd534c3
    Kristofer Pettersson authored
      
    If during a FLUSH PRIVILEGES the server fails to load the new privilege
    tables, the error message is lost. This patch is a back port from 5.1 which
    adresses this issue by setting the server in an error state if a failure
    occurrs.
      
    This patch also corrects an incorrect variable assignment which might
    cause an error state to be reverted by coincidence.
    ccd534c3
sql_parse.cc 234 KB