diff -r 498d5d3406c3 -r b0ef1e1dc9c8 src/SqlHandler.h --- a/src/SqlHandler.h Wed Dec 25 01:26:02 2019 +0100 +++ b/src/SqlHandler.h Wed Dec 25 01:37:05 2019 +0100 @@ -27,8 +27,6 @@ #include #include -#include - #include #include #include @@ -67,7 +65,7 @@ for (wchar_t ch; *input >> ch;) { *sql << ch; - if (ch == L';' && sqlite3_complete(convertor.to_bytes(sql->str()).c_str())) return true; + if (ch == L';' && PreparedStatement::isComplete(convertor.to_bytes(sql->str()).c_str())) return true; } string_t remainingSql = sql->str();