• Sergei Golubchik's avatar
    KILL USER and missing privileges · a777a8a6
    Sergei Golubchik authored
    note that `KILL USER foo` should *not* fail with ER_KILL_DENIED_ERROR
    when SHOW PROCESSLIST doesn't show connections of that user.
    Because no connections exist or because the caller has no PROCESS -
    doesn't matter.
    
    also, fix the error message to make sense
    ("You are not owner of thread <current connection id>" is ridiculous)
    a777a8a6
sql_parse.cc 331 KB