summaryrefslogtreecommitdiff
path: root/mysql-test/r/xml.result
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-02-03 15:16:24 -0200
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-02-03 15:16:24 -0200
commitc9dc936a2bf850132513059732bc8f7fe8441e53 (patch)
tree92425f34a3715e0a3c30f08403d0fe6cdd27d0b6 /mysql-test/r/xml.result
parenta07a7afefaea222de40abd6a1448562be5badf62 (diff)
downloadmariadb-git-c9dc936a2bf850132513059732bc8f7fe8441e53.tar.gz
Bug#40536: SELECT is blocked by INSERT DELAYED waiting on
upgrading lock, even with low_priority_updates The problem is that there is no mechanism to control whether a delayed insert takes a high or low priority lock on a table. The solution is to modify the delayed insert thread ("handler") to take into account the global value of low_priority_updates when taking table locks. The value of low_priority_updates is retrieved when the insert delayed thread is created and will remain the same for the duration of the thread. include/thr_lock.h: Update prototype. mysql-test/r/delayed.result: Add test case result for Bug#40536 mysql-test/t/delayed.test: Add test case for Bug#40536 mysys/thr_lock.c: Add function parameter which specifies the write lock type. sql/sql_insert.cc: Take a low priority write lock if global value of low_priority_updates was ON when the thread was created.
Diffstat (limited to 'mysql-test/r/xml.result')
0 files changed, 0 insertions, 0 deletions