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

valgrind error fix

This commit is contained in:
unknown
2004-11-16 00:29:49 +03:00
parent a59b0fbfd6
commit ac9e3a9633
3 changed files with 24 additions and 23 deletions

View File

@ -1938,7 +1938,7 @@ int lock_tables(THD *thd, TABLE_LIST *tables, uint count)
return -1;
for (table= tables; table; table= table->next_global)
{
if (!table->placeholder())
if (!table->placeholder() && !table->schema_table)
*(ptr++)= table->table;
}
if (!(thd->lock=mysql_lock_tables(thd,start, (uint) (ptr - start))))