Fossil SCM
Make sure SQLITE_TESTCTRL_BYTEORDER is defined.
Commit
4778b1d07ad2e78293ced588fa23f72b6f4539e1
Parent
d7889a2e83c714d…
3 files changed
+1
+2
-1
+2
-1
+1
| --- src/shell.c | ||
| +++ src/shell.c | ||
| @@ -3027,10 +3027,11 @@ | ||
| 3027 | 3027 | { "always", SQLITE_TESTCTRL_ALWAYS }, |
| 3028 | 3028 | { "reserve", SQLITE_TESTCTRL_RESERVE }, |
| 3029 | 3029 | { "optimizations", SQLITE_TESTCTRL_OPTIMIZATIONS }, |
| 3030 | 3030 | { "iskeyword", SQLITE_TESTCTRL_ISKEYWORD }, |
| 3031 | 3031 | { "scratchmalloc", SQLITE_TESTCTRL_SCRATCHMALLOC }, |
| 3032 | + { "byteorder", SQLITE_TESTCTRL_BYTEORDER }, | |
| 3032 | 3033 | }; |
| 3033 | 3034 | int testctrl = -1; |
| 3034 | 3035 | int rc = 0; |
| 3035 | 3036 | int i, n; |
| 3036 | 3037 | open_db(p, 0); |
| 3037 | 3038 |
| --- src/shell.c | |
| +++ src/shell.c | |
| @@ -3027,10 +3027,11 @@ | |
| 3027 | { "always", SQLITE_TESTCTRL_ALWAYS }, |
| 3028 | { "reserve", SQLITE_TESTCTRL_RESERVE }, |
| 3029 | { "optimizations", SQLITE_TESTCTRL_OPTIMIZATIONS }, |
| 3030 | { "iskeyword", SQLITE_TESTCTRL_ISKEYWORD }, |
| 3031 | { "scratchmalloc", SQLITE_TESTCTRL_SCRATCHMALLOC }, |
| 3032 | }; |
| 3033 | int testctrl = -1; |
| 3034 | int rc = 0; |
| 3035 | int i, n; |
| 3036 | open_db(p, 0); |
| 3037 |
| --- src/shell.c | |
| +++ src/shell.c | |
| @@ -3027,10 +3027,11 @@ | |
| 3027 | { "always", SQLITE_TESTCTRL_ALWAYS }, |
| 3028 | { "reserve", SQLITE_TESTCTRL_RESERVE }, |
| 3029 | { "optimizations", SQLITE_TESTCTRL_OPTIMIZATIONS }, |
| 3030 | { "iskeyword", SQLITE_TESTCTRL_ISKEYWORD }, |
| 3031 | { "scratchmalloc", SQLITE_TESTCTRL_SCRATCHMALLOC }, |
| 3032 | { "byteorder", SQLITE_TESTCTRL_BYTEORDER }, |
| 3033 | }; |
| 3034 | int testctrl = -1; |
| 3035 | int rc = 0; |
| 3036 | int i, n; |
| 3037 | open_db(p, 0); |
| 3038 |
+2
-1
| --- src/sqlite3.c | ||
| +++ src/sqlite3.c | ||
| @@ -6236,11 +6236,12 @@ | ||
| 6236 | 6236 | #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 |
| 6237 | 6237 | #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 |
| 6238 | 6238 | #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 |
| 6239 | 6239 | #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 |
| 6240 | 6240 | #define SQLITE_TESTCTRL_VDBE_COVERAGE 21 |
| 6241 | -#define SQLITE_TESTCTRL_LAST 21 | |
| 6241 | +#define SQLITE_TESTCTRL_BYTEORDER 22 | |
| 6242 | +#define SQLITE_TESTCTRL_LAST 22 | |
| 6242 | 6243 | |
| 6243 | 6244 | /* |
| 6244 | 6245 | ** CAPI3REF: SQLite Runtime Status |
| 6245 | 6246 | ** |
| 6246 | 6247 | ** ^This interface is used to retrieve runtime status information |
| 6247 | 6248 |
| --- src/sqlite3.c | |
| +++ src/sqlite3.c | |
| @@ -6236,11 +6236,12 @@ | |
| 6236 | #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 |
| 6237 | #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 |
| 6238 | #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 |
| 6239 | #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 |
| 6240 | #define SQLITE_TESTCTRL_VDBE_COVERAGE 21 |
| 6241 | #define SQLITE_TESTCTRL_LAST 21 |
| 6242 | |
| 6243 | /* |
| 6244 | ** CAPI3REF: SQLite Runtime Status |
| 6245 | ** |
| 6246 | ** ^This interface is used to retrieve runtime status information |
| 6247 |
| --- src/sqlite3.c | |
| +++ src/sqlite3.c | |
| @@ -6236,11 +6236,12 @@ | |
| 6236 | #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 |
| 6237 | #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 |
| 6238 | #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 |
| 6239 | #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 |
| 6240 | #define SQLITE_TESTCTRL_VDBE_COVERAGE 21 |
| 6241 | #define SQLITE_TESTCTRL_BYTEORDER 22 |
| 6242 | #define SQLITE_TESTCTRL_LAST 22 |
| 6243 | |
| 6244 | /* |
| 6245 | ** CAPI3REF: SQLite Runtime Status |
| 6246 | ** |
| 6247 | ** ^This interface is used to retrieve runtime status information |
| 6248 |
+2
-1
| --- src/sqlite3.h | ||
| +++ src/sqlite3.h | ||
| @@ -6121,11 +6121,12 @@ | ||
| 6121 | 6121 | #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 |
| 6122 | 6122 | #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 |
| 6123 | 6123 | #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 |
| 6124 | 6124 | #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 |
| 6125 | 6125 | #define SQLITE_TESTCTRL_VDBE_COVERAGE 21 |
| 6126 | -#define SQLITE_TESTCTRL_LAST 21 | |
| 6126 | +#define SQLITE_TESTCTRL_BYTEORDER 22 | |
| 6127 | +#define SQLITE_TESTCTRL_LAST 22 | |
| 6127 | 6128 | |
| 6128 | 6129 | /* |
| 6129 | 6130 | ** CAPI3REF: SQLite Runtime Status |
| 6130 | 6131 | ** |
| 6131 | 6132 | ** ^This interface is used to retrieve runtime status information |
| 6132 | 6133 |
| --- src/sqlite3.h | |
| +++ src/sqlite3.h | |
| @@ -6121,11 +6121,12 @@ | |
| 6121 | #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 |
| 6122 | #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 |
| 6123 | #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 |
| 6124 | #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 |
| 6125 | #define SQLITE_TESTCTRL_VDBE_COVERAGE 21 |
| 6126 | #define SQLITE_TESTCTRL_LAST 21 |
| 6127 | |
| 6128 | /* |
| 6129 | ** CAPI3REF: SQLite Runtime Status |
| 6130 | ** |
| 6131 | ** ^This interface is used to retrieve runtime status information |
| 6132 |
| --- src/sqlite3.h | |
| +++ src/sqlite3.h | |
| @@ -6121,11 +6121,12 @@ | |
| 6121 | #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 |
| 6122 | #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 |
| 6123 | #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 |
| 6124 | #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 |
| 6125 | #define SQLITE_TESTCTRL_VDBE_COVERAGE 21 |
| 6126 | #define SQLITE_TESTCTRL_BYTEORDER 22 |
| 6127 | #define SQLITE_TESTCTRL_LAST 22 |
| 6128 | |
| 6129 | /* |
| 6130 | ** CAPI3REF: SQLite Runtime Status |
| 6131 | ** |
| 6132 | ** ^This interface is used to retrieve runtime status information |
| 6133 |