mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
postreview fixes
This commit is contained in:
@ -816,8 +816,9 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name,
|
||||
|
||||
for (table=thd->temporary_tables; table ; table=table->next)
|
||||
{
|
||||
if (table->key_length == key_length+8 &&
|
||||
!memcmp(table->table_cache_key,key,key_length+8))
|
||||
if (table->key_length == key_length + TMP_TABLE_KEY_EXTRA &&
|
||||
!memcmp(table->table_cache_key, key,
|
||||
key_length + TMP_TABLE_KEY_EXTRA))
|
||||
{
|
||||
if (table->query_id == thd->query_id)
|
||||
{
|
||||
|
Reference in New Issue
Block a user