summaryrefslogtreecommitdiff
path: root/netware/my_print_defaults.def
diff options
context:
space:
mode:
authorunknown <thek@adventure.(none)>2008-01-03 15:36:48 +0100
committerunknown <thek@adventure.(none)>2008-01-03 15:36:48 +0100
commita3561354a2593a24c820111e0d1f6000ca8a508e (patch)
tree5315de64ab2d57cc678862f60b52a9618655602c /netware/my_print_defaults.def
parent54953ec25cdb1340be98f400eb31f53f3c49bf55 (diff)
downloadmariadb-git-a3561354a2593a24c820111e0d1f6000ca8a508e.tar.gz
Bug#30887 Server crashes on SET GLOBAL query_cache_size=0
Reseting the query cache by issuing a SET GLOBAL query_cache_size=0 caused the server to crash if a the server concurrently was saving a new result set to the query cache. The reason for this was that the invalidation wasn't waiting on the result writers to release the block level locks on the query cache. mysql-test/r/query_cache.result: Added test for verifying that 'SET query_cache_size= 0' while inserting new statements into the query cache won't cause the server to crash. mysql-test/t/query_cache.test: Added test for verifying that 'SET query_cache_size= 0' while inserting new statements into the query cache won't cause the server to crash. sql/sql_cache.cc: - Applying a block level lock iteration of all query-type blocks prevents writers and readers from crashing when the query cache is removed.
Diffstat (limited to 'netware/my_print_defaults.def')
0 files changed, 0 insertions, 0 deletions