mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed typo
This commit is contained in:
@ -1105,12 +1105,12 @@ bool mysql_change_db(THD *thd, const char *name, bool no_access_check)
|
|||||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||||
ulong db_access;
|
ulong db_access;
|
||||||
Security_context *sctx= thd->security_ctx;
|
Security_context *sctx= thd->security_ctx;
|
||||||
|
LINT_INIT(db_access);
|
||||||
#endif
|
#endif
|
||||||
DBUG_ENTER("mysql_change_db");
|
DBUG_ENTER("mysql_change_db");
|
||||||
DBUG_PRINT("enter",("name: '%s'",name));
|
DBUG_PRINT("enter",("name: '%s'",name));
|
||||||
|
|
||||||
LINT_INIT(db_length);
|
LINT_INIT(db_length);
|
||||||
LINT_INIT(db_access);
|
|
||||||
|
|
||||||
/* dbname can only be NULL if malloc failed */
|
/* dbname can only be NULL if malloc failed */
|
||||||
if (!dbname || !(db_length= strlen(dbname)))
|
if (!dbname || !(db_length= strlen(dbname)))
|
||||||
|
Reference in New Issue
Block a user