1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

fixed table invalidation in simple renaming

This commit is contained in:
bell@sanja.is.com.ua
2003-01-24 01:54:39 +02:00
parent caaff55c01
commit 9ec97f2c08
3 changed files with 27 additions and 0 deletions

View File

@@ -1432,6 +1432,8 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
}
send_ok(&thd->net);
}
table_list->table=0; // For query cache
query_cache_invalidate3(thd, table_list, 0);
DBUG_RETURN(error);
}