mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
MySQL Query Logging add rows returned
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ 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);
|
||||
Log.Out(Logs::General, Logs::MySQLQuery, "(%u rows returned) %s", rowCount, query);
|
||||
|
||||
#if DEBUG_MYSQL_QUERIES >= 1
|
||||
if (requestResult.Success())
|
||||
|
||||
Reference in New Issue
Block a user