• Sergey Glukhov's avatar
    Bug#44798 MySQL engine crashes when creating stored procedures with execute_priv=N · 8041311e
    Sergey Glukhov authored
    The crash happens because of uninitialized
    lex->ssl_cipher, lex->x509_subject, lex->x509_issuer variables.
    The fix is to add initialization of these variables for
    stored procedures&functions.
    
    
    mysql-test/r/sp_notembedded.result:
      test result
    mysql-test/t/sp_notembedded.test:
      test case
    sql/sql_acl.cc:
      The crash happens because of uninitialized
      lex->ssl_cipher, lex->x509_subject, lex->x509_issuer variables.
      The fix is to add initialization of these variables for
      stored procedures&functions.
    8041311e
sp_notembedded.test 7.28 KB