Skip to content

Commit 2557560

Browse files
committed
Upgrade sqlite version
1 parent cb4049c commit 2557560

File tree

6 files changed

+11584
-6626
lines changed

6 files changed

+11584
-6626
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
.DS_Store
2-
.vscode
1+
**/.DS_Store
2+
**/.vscode
33

examples/sqlite3_console/sqlite3_console.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ int input_string(char *str, int max_len) {
120120
}
121121
str[ctr] = 0;
122122
Serial.println(str);
123+
return ctr;
123124
}
124125

125126
int input_num() {

examples/sqlite3_sdmmc/.DS_Store

-8 KB
Binary file not shown.

src/config_ext.h

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
#define BUILD_sqlite -DNDEBUG
2-
#define SQLITE_CORE 1
2+
#define SQLITE_OMIT_WAL 1
3+
#define SQLITE_OMIT_LOAD_EXTENSION 1
4+
#define SQLITE_DQS 0
5+
#define SQLITE_OS_OTHER 1
36
#define SQLITE_NO_SYNC 1
4-
#define YYSTACKDEPTH 20
57
#define SQLITE_TEMP_STORE 1
8+
#define SQLITE_DISABLE_LFS 1
9+
#define SQLITE_DISABLE_DIRSYNC 1
10+
#define SQLITE_SECURE_DELETE 0
11+
#define SQLITE_DEFAULT_LOOKASIDE 512,64
12+
#define YYSTACKDEPTH 20
13+
#define SQLITE_SMALL_STACK 1
14+
15+
/*
16+
#define SQLITE_CORE 1
617
#define SQLITE_SYSTEM_MALLOC 1
7-
#define SQLITE_OS_OTHER 1
818
#define SQLITE_THREADSAFE 0
919
#define SQLITE_MUTEX_APPDEF 1
10-
#define SQLITE_SECURE_DELETE 0
11-
#define SQLITE_SMALL_STACK 1
12-
#define SQLITE_DISABLE_LFS 1
13-
#define SQLITE_DISABLE_DIRSYNC 1
1420
#define SQLITE_DISABLE_FTS3_UNICODE 1
1521
#define SQLITE_DISABLE_FTS4_DEFERRED 1
1622
#define SQLITE_LIKE_DOESNT_MATCH_BLOBS 1
@@ -19,7 +25,6 @@
1925
#define SQLITE_DEFAULT_MEMSTATUS 0
2026
#define SQLITE_DEFAULT_MMAP_SIZE 0
2127
#define SQLITE_DEFAULT_LOCKING_MODE 1
22-
#define SQLITE_DEFAULT_LOOKASIDE 512,64
2328
#define SQLITE_DEFAULT_PAGE_SIZE 4096
2429
#define SQLITE_DEFAULT_PCACHE_INITSZ 8
2530
#define SQLITE_MAX_DEFAULT_PAGE_SIZE 32768
@@ -55,7 +60,6 @@
5560
#define SQLITE_OMIT_INCRBLOB 1
5661
#define SQLITE_OMIT_INTEGRITY_CHECK 1
5762
#undef SQLITE_OMIT_LIKE_OPTIMIZATION
58-
#define SQLITE_OMIT_LOAD_EXTENSION 1
5963
#undef SQLITE_OMIT_LOCALTIME
6064
#define SQLITE_OMIT_LOOKASIDE 1
6165
#undef SQLITE_OMIT_MEMORYDB
@@ -78,13 +82,12 @@
7882
#undef SQLITE_OMIT_VACUUM
7983
#undef SQLITE_OMIT_VIEW
8084
#undef SQLITE_OMIT_VIRTUALTABLE
81-
#define SQLITE_OMIT_WAL 1
8285
#undef SQLITE_OMIT_WSD
8386
#define SQLITE_OMIT_XFER_OPT 1
8487
#define SQLITE_PERFORMANCE_TRACE 1
85-
/* #define SQLITE_OMIT_COMPLETE 1 */
86-
/* #define SQLITE_OMIT_SUBQUERY 1 */
87-
/* #define SQLITE_OMIT_DATETIME_FUNCS 1 */
88-
/* #define SQLITE_OMIT_FLOATING_POINT 1 */
88+
//#define SQLITE_OMIT_COMPLETE 1
89+
//#define SQLITE_OMIT_SUBQUERY 1
90+
//#define SQLITE_OMIT_DATETIME_FUNCS 1
91+
//#define SQLITE_OMIT_FLOATING_POINT 1
8992
#define SQLITE_COUNTOFVIEW_OPTIMIZATION 0
90-
#define SQLITE_DQS 0
93+
*/

0 commit comments

Comments
 (0)