• unknown's avatar
    Bug #29252 Assertion 'table->file || table->file->inited == handler::NONE' failed · eea61b18
    unknown authored
    when index_init() or rnd_init() return an error, we still set
    handler->inited to INDEX or RND in ha_index_init and ha_rnd_init.
    As caller doesn't call ha_*_end() in this case, we get DBUG_ASSERT
    failed.
    
    
    sql/handler.h:
      Bug #29252 Assertion 'table->file || table->file->inited == handler::NONE' failed.
      
      make sure that 'inited' is handler::NONE if index_init() or rnd_init()
      returned an error
    eea61b18
handler.h 65.3 KB