diff options
author | unknown <kroki@mysql.com> | 2006-05-06 11:25:59 +0400 |
---|---|---|
committer | unknown <kroki@mysql.com> | 2006-05-06 11:25:59 +0400 |
commit | 8052fafd313d498362c1cb02d1efff889efea030 (patch) | |
tree | ab0b9742983266db02b0f29fbee8c9adaa14b157 /heap | |
parent | 77b7a71dd4a642707b57bbf2ab5c7dd2a0c67479 (diff) | |
download | mariadb-git-8052fafd313d498362c1cb02d1efff889efea030.tar.gz |
Reapply fix for bug#16372 (Server crashes when test 'conc_sys' is running)
after merge.
Concurrent read and update of privilege structures (like simultaneous
run of SHOW GRANTS and ADD USER) could result in server crash.
Ensure that proper locking of ACL structures is done.
No test case is provided because this bug can't be reproduced
deterministically.
sql/sql_acl.cc:
Ensure that access to ACL data is protected by acl_cache->lock mutex.
Use system_charset_info for host names consistently.
Remove check_acl_user(). Use find_acl_user() instead.
sql/sql_acl.h:
Remove check_acl_user() declaration.
sql/sql_parse.cc:
Use is_acl_user() instead of check_acl_user().
Diffstat (limited to 'heap')
0 files changed, 0 insertions, 0 deletions