mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-15649 Speedup search in acl_users and acl_dbs array,
sorting them by usernames first, and then by get_sort() value. Search functions now use binary search to find the the first entry with given name. Then, linear search is done, until the first match.
This commit is contained in:
@@ -118,7 +118,7 @@ Con4 is alive
|
||||
Con4 is alive
|
||||
select current_user();
|
||||
current_user()
|
||||
root@192.0.2.4
|
||||
root@santa.claus.ipv4.example.com
|
||||
disconnect con4;
|
||||
connection default;
|
||||
"Dumping performance_schema.host_cache"
|
||||
@@ -155,7 +155,7 @@ Con5 is alive
|
||||
Con5 is alive
|
||||
select current_user();
|
||||
current_user()
|
||||
root@192.0.2.4
|
||||
root@santa.claus.ipv4.example.com
|
||||
disconnect con5;
|
||||
connection default;
|
||||
"Dumping performance_schema.host_cache"
|
||||
|
Reference in New Issue
Block a user