mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 03:53:26 -08:00
cmdReportStats and cmdReportUserInfo still ran their queries inline through Servatrice_DatabaseInterface and built the response in the socket handler. Add ReportStatsRecord, ReportUserInfoRecord and their count records to Server_DatabaseInterface with fail-closed defaults, implement getReportStats and getReportUserInfo with the previous statements and query order, and keep presence flags for the fields the old code set only on a successful query so the proto2 wire output is unchanged. The stats cache decision and every response code stay in the handler. |
||
|---|---|---|
| .. | ||
| libcockatrice/network | ||
| CMakeLists.txt | ||