mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Fixed wrong function call in embedded server
This happens when compiled with HAVE_EMBEDDED_PRIVILEGE_CONTROL. There is a lot of other problems with the above option that should be fixed at some point
This commit is contained in:
parent
24c51be6fe
commit
7045ec27a6
1 changed files with 1 additions and 1 deletions
|
|
@ -831,7 +831,7 @@ int check_embedded_connection(MYSQL *mysql, const char *db)
|
|||
/* acl_authenticate() takes the data from thd->net->read_pos */
|
||||
thd->net.read_pos= (uchar*)buf;
|
||||
|
||||
if (acl_authenticate(thd, 0, end - buf))
|
||||
if (acl_authenticate(thd, (uint) (end - buf)))
|
||||
{
|
||||
my_free(thd->security_ctx->user);
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue