• unknown's avatar
    Bug #31960 All embedded test crash · ee21ace7
    unknown authored
    Crash happens as a result of NO_EMBEDDED_ACCESS_CHECKS option
    (which is default for embedded server).
    check_table_access failed on using unintialized structure.
    Better solutions here is to disable that code completely in this case.
    Though the crash happens only in 6.0 i belive it's good to do it in 5.1
    
    
    sql/mysql_priv.h:
      Bug #31960 All embedded test crash.
      
      Access check functions from sql_parse.cc defined as FALSE if
      NO_EMBEDDED_ACCESS_CHECKS
    sql/sql_parse.cc:
      Bug #31960 All embedded test crash.
      
      Implementation of access checkings functions #ifdefed out for
      NO_EMBEDDED_ACCESS_CHECKS
    ee21ace7
sql_parse.cc 214 KB