1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug#39253 Large query cache still freezes server after fix for bug #21074

This patch introduce a limit on the time the query cache can
block with a lock on SELECTs.

Other operations which causes a change in the table
data will still be blocked.
This commit is contained in:
Kristofer Pettersson
2009-11-20 13:49:06 +01:00
parent 1701a145db
commit c9b5710e7c
2 changed files with 36 additions and 5 deletions

View File

@ -485,7 +485,7 @@ protected:
const char *name);
my_bool in_blocks(Query_cache_block * point);
bool try_lock(void);
bool try_lock(bool use_timeout= FALSE);
void lock(void);
void lock_and_suspend(void);
void unlock(void);