mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch 'bb-10.3-release' into bb-10.4-release
Note, the fix for "MDEV-23328 Server hang due to Galera lock conflict resolution" was null-merged. 10.4 version of the fix is coming up separately
This commit is contained in:
@ -92,7 +92,6 @@ int get_or_create_user_conn(THD *thd, const char *user,
|
||||
uc->host= uc->user + user_len + 1;
|
||||
uc->len= (uint)temp_len;
|
||||
uc->connections= uc->questions= uc->updates= uc->conn_per_hour= 0;
|
||||
uc->user_resources= *mqh;
|
||||
uc->reset_utime= thd->thr_create_utime;
|
||||
if (my_hash_insert(&hash_user_connections, (uchar*) uc))
|
||||
{
|
||||
@ -102,6 +101,7 @@ int get_or_create_user_conn(THD *thd, const char *user,
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
uc->user_resources= *mqh;
|
||||
thd->user_connect=uc;
|
||||
uc->connections++;
|
||||
end:
|
||||
|
Reference in New Issue
Block a user