1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Some bugs that user has properly recognized in user management

system.
This commit is contained in:
unknown
2002-06-20 16:46:25 +03:00
parent 8d1568b882
commit a57e2220ba
3 changed files with 46 additions and 44 deletions

View File

@@ -652,7 +652,12 @@ static void acl_update_user(const char *user, const char *host,
acl_user->host.hostname && !strcmp(host,acl_user->host.hostname))
{
acl_user->access=privileges;
acl_user->user_resource=*mqh;
if (mqh->questions)
acl_user->user_resource.questions=mqh->questions;
if (mqh->updates)
acl_user->user_resource.updates=mqh->updates;
if (mqh->connections)
acl_user->user_resource.connections=mqh->connections;
#ifdef HAVE_OPENSSL
acl_user->ssl_type=ssl_type;
acl_user->ssl_cipher=ssl_cipher;