• Tatiana A. Nurnberg's avatar
    Bug#48319: Server crashes on "GRANT/REVOKE ... TO CURRENT_USER" · 305f78c3
    Tatiana A. Nurnberg authored
    CURRENT_USER() in GRANT ... TO CURRENT_USER() only gave us a definer,
    not a full user (i.e., password-element was not initiliazed). Hence
    dereferencing the password led to a crash.
    
    Properly initializes definers now, just so there are no misunderstandings.
    Also does some magic so IDENTIFIED BY ... works with CURRENT_USER().
    305f78c3
grant2.result 20.5 KB