1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

followup to handler cleanup

This commit is contained in:
serg@serg.mylan
2004-06-23 21:26:34 +02:00
parent cfd7859565
commit 9f45c9e399
9 changed files with 171 additions and 115 deletions

View File

@ -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();
}
}
}
}