We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acaed41 commit 59ceff2Copy full SHA for 59ceff2
tests/Database_test.cpp
@@ -72,6 +72,7 @@ TEST(Database, inMemory) {
72
} // Close an destroy DB
73
}
74
75
+#if SQLITE_VERSION_NUMBER >= 3007015 // first version with PRAGMA busy_timeout
76
TEST(Database, busyTimeout) {
77
// Create a new database
78
SQLite::Database db(":memory:");
@@ -86,6 +87,7 @@ TEST(Database, busyTimeout) {
86
87
db.setBusyTimeout(0);
88
EXPECT_EQ(0, db.execAndGet("PRAGMA busy_timeout").getInt());
89
90
+#endif // SQLITE_VERSION_NUMBER >= 3007015
91
92
TEST(Database, exec) {
93
0 commit comments