mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
Bug #45287: phase 2 : 5.0 64 bit compilation warnings
Fixed various compilation warnings when compiling on a 64 bit windows.
This commit is contained in:
parent
b7445ff687
commit
097c7b38c8
14 changed files with 40 additions and 38 deletions
|
|
@ -3528,7 +3528,7 @@ int set_var_password::check(THD *thd)
|
|||
{
|
||||
DBUG_ASSERT(thd->security_ctx->priv_user);
|
||||
user->user.str= (char *) thd->security_ctx->priv_user;
|
||||
user->user.length= strlen(thd->security_ctx->priv_user);
|
||||
user->user.length= (uint) strlen(thd->security_ctx->priv_user);
|
||||
}
|
||||
/* Returns 1 as the function sends error to client */
|
||||
return check_change_password(thd, user->host.str, user->user.str,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue