Skip to content

Commit a90ed8b

Browse files
committed
bump SQLiteCpp
1 parent dadf93e commit a90ed8b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set(SQLITE_ENABLE_COLUMN_METADATA OFF CACHE INTERNAL "")
2020
FetchContent_Declare(
2121
sqlitecpp
2222
GIT_REPOSITORY https://github.com/SRombauts/SQLiteCpp.git
23-
GIT_TAG 3.0.0
23+
GIT_TAG 3.1.1
2424
)
2525
FetchContent_MakeAvailable(sqlitecpp)
2626
include_directories(${sqlitecpp_SOURCE_DIR}/include)

src/SQLiteVFS.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66

77
#include <assert.h>
88
#include <memory>
9-
#include <sqlite3.h>
109
#include <string.h>
1110
#include <string>
1211

12+
/*
13+
Omitted so that includer can choose whether to use sqlite3.h or sqlite3ext.h
14+
#include <sqlite3.h>
15+
*/
16+
1317
namespace SQLiteVFS {
1418

1519
/**

test/test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#define CATCH_CONFIG_MAIN
2-
#include "../src/SQLiteNestedVFS.h"
32
#include "SQLiteCpp/SQLiteCpp.h"
43
#include "catch2/catch.hpp"
54
#include "sqlite3.h"
65
#include <iostream>
76
#include <vector>
87

8+
#include "../src/SQLiteNestedVFS.h"
9+
910
using namespace std;
1011

1112
extern "C" int vfstrace_register(const char *, const char *, int (*xOut)(const char *, FILE *),

0 commit comments

Comments
 (0)