Fossil SCM

Make sure SQLITE_TESTCTRL_BYTEORDER is defined.

jan.nijtmans 2014-04-22 10:01 UTC branch-1.28
Commit 4778b1d07ad2e78293ced588fa23f72b6f4539e1
--- src/shell.c
+++ src/shell.c
@@ -3027,10 +3027,11 @@
30273027
{ "always", SQLITE_TESTCTRL_ALWAYS },
30283028
{ "reserve", SQLITE_TESTCTRL_RESERVE },
30293029
{ "optimizations", SQLITE_TESTCTRL_OPTIMIZATIONS },
30303030
{ "iskeyword", SQLITE_TESTCTRL_ISKEYWORD },
30313031
{ "scratchmalloc", SQLITE_TESTCTRL_SCRATCHMALLOC },
3032
+ { "byteorder", SQLITE_TESTCTRL_BYTEORDER },
30323033
};
30333034
int testctrl = -1;
30343035
int rc = 0;
30353036
int i, n;
30363037
open_db(p, 0);
30373038
--- 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 @@
62366236
#define SQLITE_TESTCTRL_SCRATCHMALLOC 17
62376237
#define SQLITE_TESTCTRL_LOCALTIME_FAULT 18
62386238
#define SQLITE_TESTCTRL_EXPLAIN_STMT 19
62396239
#define SQLITE_TESTCTRL_NEVER_CORRUPT 20
62406240
#define SQLITE_TESTCTRL_VDBE_COVERAGE 21
6241
-#define SQLITE_TESTCTRL_LAST 21
6241
+#define SQLITE_TESTCTRL_BYTEORDER 22
6242
+#define SQLITE_TESTCTRL_LAST 22
62426243
62436244
/*
62446245
** CAPI3REF: SQLite Runtime Status
62456246
**
62466247
** ^This interface is used to retrieve runtime status information
62476248
--- 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 @@
61216121
#define SQLITE_TESTCTRL_SCRATCHMALLOC 17
61226122
#define SQLITE_TESTCTRL_LOCALTIME_FAULT 18
61236123
#define SQLITE_TESTCTRL_EXPLAIN_STMT 19
61246124
#define SQLITE_TESTCTRL_NEVER_CORRUPT 20
61256125
#define SQLITE_TESTCTRL_VDBE_COVERAGE 21
6126
-#define SQLITE_TESTCTRL_LAST 21
6126
+#define SQLITE_TESTCTRL_BYTEORDER 22
6127
+#define SQLITE_TESTCTRL_LAST 22
61276128
61286129
/*
61296130
** CAPI3REF: SQLite Runtime Status
61306131
**
61316132
** ^This interface is used to retrieve runtime status information
61326133
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button