mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[11928] Some warning fixes
This commit is contained in:
parent
7c827733f5
commit
c6a751134c
18 changed files with 28 additions and 38 deletions
|
|
@ -307,7 +307,7 @@ QueryResult* Database::PQuery(const char *format,...)
|
|||
if(res==-1)
|
||||
{
|
||||
sLog.outError("SQL Query truncated (and not execute) for format: %s",format);
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return Query(szQuery);
|
||||
|
|
@ -326,7 +326,7 @@ QueryNamedResult* Database::PQueryNamed(const char *format,...)
|
|||
if(res==-1)
|
||||
{
|
||||
sLog.outError("SQL Query truncated (and not execute) for format: %s",format);
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return QueryNamed(szQuery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue