summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp-security.test
diff options
context:
space:
mode:
authorunknown <petr@mysql.com>2006-02-21 15:57:56 +0300
committerunknown <petr@mysql.com>2006-02-21 15:57:56 +0300
commit21aa5867142d421b34a3f04820fea6e6a9ea527c (patch)
tree97bed2340b3e2c7f36e6d1712661050cd07b1064 /mysql-test/t/sp-security.test
parent4e69c153e31f16c2d46e9bd5cacc92b8e92cf00e (diff)
downloadmariadb-git-21aa5867142d421b34a3f04820fea6e6a9ea527c.tar.gz
Fix race condition: instance map wasn't locked for the
duration of the whole 'flush instances'. As a consequence, it was possible to query instance map, while it is in the inconsistent state. The patch was reworked after review. server-tools/instance-manager/guardian.cc: do not lock instance map in Guardian_thread::init() server-tools/instance-manager/instance_map.cc: Eliminate race condition: lock instance map and guardian for the duration of the whole "FLUSH INSTANCES" execution. server-tools/instance-manager/instance_map.h: add new method. cleanup interface. add comments. server-tools/instance-manager/manager.cc: use instance_map.flush_instances instead of instance_map.load() and guardian_thread.init()
Diffstat (limited to 'mysql-test/t/sp-security.test')
0 files changed, 0 insertions, 0 deletions