1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Two bug fixes

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2003-04-11 20:09:24 +03:00
parent 4644cefd7d
commit c3db30b5f1
4 changed files with 24 additions and 0 deletions

View File

@@ -478,7 +478,14 @@ int multi_update::prepare(List<Item> &not_used_values)
table->used_keys=0;
table->pos_in_table_list= tl;
}
else
{
table_ref->lock_type=TL_READ;
mysql_unlock_some_tables(thd,&table,1);
}
}
table_count= update.elements;
update_tables= (TABLE_LIST*) update.first;