Cleanup Operator padding

This commit is contained in:
Schmoozerd 2012-07-20 17:38:23 +02:00
parent 9141299127
commit e32b9953a1
264 changed files with 6715 additions and 6715 deletions

View file

@ -130,7 +130,7 @@ bool SqlQueryHolder::SetQuery(size_t index, const char* sql)
if (m_queries[index].first != NULL)
{
sLog.outError("Attempt assign query to holder index (" SIZEFMTD ") where other query stored (Old: [%s] New: [%s])",
index,m_queries[index].first,sql);
index, m_queries[index].first, sql);
return false;
}
@ -143,7 +143,7 @@ bool SqlQueryHolder::SetPQuery(size_t index, const char* format, ...)
{
if (!format)
{
sLog.outError("Query (index: " SIZEFMTD ") is empty.",index);
sLog.outError("Query (index: " SIZEFMTD ") is empty.", index);
return false;
}
@ -153,13 +153,13 @@ bool SqlQueryHolder::SetPQuery(size_t index, const char* format, ...)
int res = vsnprintf(szQuery, MAX_QUERY_LEN, format, ap);
va_end(ap);
if (res==-1)
if (res == -1)
{
sLog.outError("SQL Query truncated (and not execute) for format: %s",format);
sLog.outError("SQL Query truncated (and not execute) for format: %s", format);
return false;
}
return SetQuery(index,szQuery);
return SetQuery(index, szQuery);
}
QueryResult* SqlQueryHolder::GetResult(size_t index)