diff options
author | dec05eba <0xdec05eba@gmail.com> | 2018-05-21 02:36:19 +0200 |
---|---|---|
committer | dec05eba <0xdec05eba@gmail.com> | 2018-05-21 02:36:22 +0200 |
commit | e1315807021fe4f21d145195b012a9d0cb3feb2e (patch) | |
tree | fcd58c8faeb85c1080ab94788ab2e481ebd287fe /include | |
parent | 7b225aa9fe31b38ada299f183b66cd2204eb9e10 (diff) |
Add sql debug, fix action counter in request wrong number
Diffstat (limited to 'include')
-rw-r--r-- | include/odhtdb/sql/Sql.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/odhtdb/sql/Sql.hpp b/include/odhtdb/sql/Sql.hpp index cb740a4..21517e4 100644 --- a/include/odhtdb/sql/Sql.hpp +++ b/include/odhtdb/sql/Sql.hpp @@ -1,6 +1,7 @@ #pragma once #include "../DataView.hpp" +#include <string> class sqlite3; class sqlite3_stmt; @@ -24,6 +25,8 @@ namespace odhtdb SqlArg(u64 data) : uinteger64(data), type(Type::UINT64) {} int bind(sqlite3_stmt *stmt, int paramIndex) const; + + std::string toString() const; private: union { |