From e1315807021fe4f21d145195b012a9d0cb3feb2e Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> Date: Mon, 21 May 2018 02:36:19 +0200 Subject: Add sql debug, fix action counter in request wrong number --- include/odhtdb/sql/Sql.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 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 { -- cgit v1.2.3