mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
MySQL Query Logging add rows returned
This commit is contained in:
parent
1ad210ff29
commit
4a6305f8cb
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user