mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fixed bug in FLUSH QUERY CACHE
Changed 'send_file_to_server' to use less stack (Fixed replication problem on OSF1). Docs/manual.texi: Changelog libmysql/libmysql.c: Changed 'send_file_to_server' to use less stack (Fixed some problems in threaded applications) mysql-test/mysql-test-run.sh: Fixed --sleep option sql/mini_client.cc: Changed 'send_file_to_server' to use less stack (Fixed replication problem on OSF1). sql/mysqld.cc: Destroy query cache properly sql/sql_cache.cc: Fixed bug in FLUSH QUERY CACHE
This commit is contained in:
@@ -2369,8 +2369,9 @@ void Query_cache::pack_cache()
|
||||
{
|
||||
do
|
||||
{
|
||||
Query_cache_block *next=block->pnext;
|
||||
ok = move_by_type(&border, &before, &gap, block);
|
||||
block = block->pnext;
|
||||
block = next;
|
||||
} while (ok && block != first_block);
|
||||
|
||||
if (border != 0)
|
||||
|
||||
Reference in New Issue
Block a user