diff options
Diffstat (limited to 'src/dal')
-rw-r--r-- | src/dal/sqlitedataprovider.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dal/sqlitedataprovider.cpp b/src/dal/sqlitedataprovider.cpp index f9c3ed51..b126c19a 100644 --- a/src/dal/sqlitedataprovider.cpp +++ b/src/dal/sqlitedataprovider.cpp @@ -26,6 +26,8 @@ #include "dalexcept.h" +#include "../utils/logger.h" + namespace dal { @@ -116,6 +118,8 @@ SqLiteDataProvider::execSql(const std::string& sql, throw std::runtime_error("not connected to database"); } + LOG_DEBUG("Performing SQL querry: "<<sql); + // do something only if the query is different from the previous // or if the cache must be refreshed // otherwise just return the recordset from cache. |