diff options
author | unknown <monty@mysql.com> | 2006-02-25 13:49:43 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2006-02-25 13:49:43 +0200 |
commit | 6436f923dff161cc361d40e40d01fdb962d8a2fd (patch) | |
tree | 2b47d856b42ba6b5fad052faf04a0d1c3d5f3f59 | |
parent | 3093b5fea7318d06b35e3e86a6a9991e6808d288 (diff) | |
download | mariadb-git-6436f923dff161cc361d40e40d01fdb962d8a2fd.tar.gz |
Fixed typo
sql/sql_db.cc:
Move LINT_INIT() to correct place
-rw-r--r-- | sql/sql_db.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 09412bfe401..de5a8b3ac1f 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -1105,12 +1105,12 @@ bool mysql_change_db(THD *thd, const char *name, bool no_access_check) #ifndef NO_EMBEDDED_ACCESS_CHECKS ulong db_access; Security_context *sctx= thd->security_ctx; + LINT_INIT(db_access); #endif DBUG_ENTER("mysql_change_db"); DBUG_PRINT("enter",("name: '%s'",name)); LINT_INIT(db_length); - LINT_INIT(db_access); /* dbname can only be NULL if malloc failed */ if (!dbname || !(db_length= strlen(dbname))) |