diff options
-rw-r--r-- | sqlite/types/driver.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlite/types/driver.cxx b/sqlite/types/driver.cxx index 1e148e0..fa0002f 100644 --- a/sqlite/types/driver.cxx +++ b/sqlite/types/driver.cxx @@ -58,11 +58,11 @@ main (int argc, char* argv[]) assert (o == *o1); } - typedef sqlite::query<object> query; - typedef odb::result<object> result; - #ifdef _WIN32 { + typedef sqlite::query<object> query; + typedef odb::result<object> result; + transaction t (db->begin ()); result r (db->query<object> (query::wtext == L"t\x00C8st string")); assert (!r.empty ()); |