summaryrefslogtreecommitdiff
path: root/sql/sql_rename.cc
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-12-12 23:16:54 -0800
committerIgor Babaev <igor@askmonty.org>2012-12-12 23:16:54 -0800
commit65820439bdafeead66496b489c076012c334c710 (patch)
treeba5134a5674e237eb510a6b10a1a7cac28ec9f26 /sql/sql_rename.cc
parent109c104d07c6cce68ecae66c1a4dcdb83826954f (diff)
downloadmariadb-git-65820439bdafeead66496b489c076012c334c710.tar.gz
Fixed bug mdev-3891.
If a query referenced some system statistical tables, but not all of them, then executing an ANALYZE command simultaneously with this query could lead to a deadlock. The fix prohibited reading statistics from system statistical tables for such queries. Removed the function unlock_tables_n_open_system_tables_for_write() as not used anymore. Performed some minor refactoring of the code in sql_statistics.cc.
Diffstat (limited to 'sql/sql_rename.cc')
0 files changed, 0 insertions, 0 deletions