mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
followup to handler cleanup
mysql-test/r/bdb.result: bug#4000 mysql-test/t/bdb.test: bug#4000 sql/sql_select.cc: cleanup
This commit is contained in:
@ -3872,12 +3872,8 @@ JOIN::join_free(bool full)
|
||||
{
|
||||
for (tab= join_tab, end= tab+tables; tab != end; tab++)
|
||||
{
|
||||
if (tab->table)
|
||||
{
|
||||
/* Don't free index if we are using read_record */
|
||||
if (tab->table->file->inited==handler::RND)
|
||||
if (tab->table && tab->table->file->inited == handler::RND)
|
||||
tab->table->file->ha_rnd_end();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user