mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Remove warnings and portability fixes
New global read lock code Fixed bug in DATETIME with WHERE optimization Made UNION code more general.
This commit is contained in:
@@ -348,11 +348,11 @@ bool mysql_change_db(THD *thd,const char *name)
|
||||
{
|
||||
net_printf(&thd->net,ER_DBACCESS_DENIED_ERROR,
|
||||
thd->priv_user,
|
||||
thd->host ? thd->host : thd->ip ? thd->ip : "unknown",
|
||||
thd->host_or_ip,
|
||||
dbname);
|
||||
mysql_log.write(thd,COM_INIT_DB,ER(ER_DBACCESS_DENIED_ERROR),
|
||||
thd->priv_user,
|
||||
thd->host ? thd->host : thd->ip ? thd->ip : "unknown",
|
||||
thd->host_or_ip,
|
||||
dbname);
|
||||
my_free(dbname,MYF(0));
|
||||
DBUG_RETURN(1);
|
||||
|
||||
Reference in New Issue
Block a user