aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-05-21 02:36:19 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-05-21 02:36:22 +0200
commite1315807021fe4f21d145195b012a9d0cb3feb2e (patch)
treefcd58c8faeb85c1080ab94788ab2e481ebd287fe /include
parent7b225aa9fe31b38ada299f183b66cd2204eb9e10 (diff)
Add sql debug, fix action counter in request wrong number
Diffstat (limited to 'include')
-rw-r--r--include/odhtdb/sql/Sql.hpp3
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
{