diff options
author | deva <deva> | 2009-02-11 10:04:09 +0000 |
---|---|---|
committer | deva <deva> | 2009-02-11 10:04:09 +0000 |
commit | 8a6d1f13b7680bc8f15ce57b8065a9bc774aa891 (patch) | |
tree | d07a45e761efb1422fad7c07def6fa77bc67b1a4 /server/src/queryhandlerpracro.cc | |
parent | 794100bb1d29d06b379b25899053f997013332e4 (diff) |
Changed all printf debug outputs to new debug interface (PRACRO_DEBUG and friends).
Diffstat (limited to 'server/src/queryhandlerpracro.cc')
-rw-r--r-- | server/src/queryhandlerpracro.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/queryhandlerpracro.cc b/server/src/queryhandlerpracro.cc index 99c31b3..8219461 100644 --- a/server/src/queryhandlerpracro.cc +++ b/server/src/queryhandlerpracro.cc @@ -26,6 +26,8 @@ */ #include "queryhandlerpracro.h" +#include "debug.h" + QueryHandlerPracro::QueryHandlerPracro(Database *db, std::string cpr) { this->cpr = cpr; @@ -52,7 +54,7 @@ QueryResult QueryHandlerPracro::exec(Query &query) result.values[field] = value; result.source = "pracro"; - printf("QHP: %s => %s (%lu)\n", field.c_str(), value.c_str(), timestamp); + PRACRO_DEBUG(queryhandler,"%s => %s (%lu)\n", field.c_str(), value.c_str(), timestamp); return result; } |