Add MySQL Query logging at root

This commit is contained in:
Akkadius
2015-01-20 00:14:18 -06:00
parent 1928be9dd3
commit 1ad210ff29
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -126,6 +126,8 @@ MySQLRequestResult DBcore::QueryDatabase(const char* query, uint32 querylen, boo
MySQLRequestResult requestResult(res, (uint32)mysql_affected_rows(&mysql), rowCount, (uint32)mysql_field_count(&mysql), (uint32)mysql_insert_id(&mysql));
Log.Out(Logs::General, Logs::MySQLQuery, "%s", query);
#if DEBUG_MYSQL_QUERIES >= 1
if (requestResult.Success())
{