include/qtl_sqlite.hpp
@@ -3,6 +3,7 @@ #include "sqlite3.h" #include <algorithm> #include <array> #include "qtl_common.hpp" namespace qtl @@ -380,6 +381,12 @@ if(result!=SQLITE_OK) throw sqlite::error(result); } void open(const wchar_t *filename) { int result=sqlite3_open16(filename, &m_db); if(result!=SQLITE_OK) throw sqlite::error(result); } void close() { if(m_db)