sqlite: update to 3.45.2
modified external/sqlite/shell.c
@@ -580,6 +580,9 @@ zSkipValidUtf8(const char *z, int nAccept, long ccm);
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -678,6 +681,10 @@ static short streamOfConsole(FILE *pf, /* out */ PerStreamTags *ppst){
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1228,6 +1235,10 @@ SQLITE_INTERNAL_LINKAGE char* fGetsUtf8(char *cBuf, int ncMax, FILE *pfIn){
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -20619,6 +20630,7 @@ static void exec_prepared_stmt_columnar(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -20704,7 +20716,6 @@ static void exec_prepared_stmt_columnar(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -25553,16 +25564,15 @@ static int do_meta_command(char *zLine, ShellState *p){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -25696,24 +25706,14 @@ static int do_meta_command(char *zLine, ShellState *p){
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -25728,34 +25728,50 @@ static int do_meta_command(char *zLine, ShellState *p){
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
|
|
|
|
|
@@ -25764,7 +25780,12 @@ static int do_meta_command(char *zLine, ShellState *p){
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -25776,13 +25797,15 @@ static int do_meta_command(char *zLine, ShellState *p){
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
|
|
|
|
|
modified external/sqlite/sqlite3.c
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -18,7 +18,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -459,9 +459,9 @@ extern "C" {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -733,6 +733,8 @@ typedef int (*sqlite3_callback)(void*,int,char**, char**);
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -15097,6 +15099,7 @@ SQLITE_PRIVATE u32 sqlite3TreeTrace;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -19346,6 +19349,7 @@ struct NameContext {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -19369,6 +19373,7 @@ struct Upsert {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -21444,7 +21449,7 @@ SQLITE_PRIVATE With *sqlite3WithPush(Parse*, With*, u8);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -31309,6 +31314,7 @@ SQLITE_API void sqlite3_str_vappendf(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -35199,6 +35205,9 @@ do_atof_calc:
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -35641,7 +35650,7 @@ SQLITE_PRIVATE void sqlite3FpDecode(FpDecode *p, double r, int iRound, int mxRou
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -43408,11 +43417,16 @@ static int unixFetch(sqlite3_file *fd, i64 iOff, int nAmt, void **pp){
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -50765,6 +50779,11 @@ static int winFetch(sqlite3_file *fd, i64 iOff, int nAmt, void **pp){
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -50773,7 +50792,7 @@ static int winFetch(sqlite3_file *fd, i64 iOff, int nAmt, void **pp){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -53252,6 +53271,14 @@ SQLITE_API unsigned char *sqlite3_serialize(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -76402,7 +76429,10 @@ static SQLITE_NOINLINE int btreePrevious(BtCursor *pCur){
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -77075,7 +77105,10 @@ static int fillInCell(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -79521,7 +79554,10 @@ SQLITE_PRIVATE int sqlite3BtreeInsert(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -88366,6 +88402,23 @@ static void serialGet(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -89045,7 +89098,7 @@ SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -89070,14 +89123,18 @@ SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip(
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -89147,7 +89204,14 @@ SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -94845,7 +94909,9 @@ case OP_Ge: { /* same as TK_GE, jump, in1, in3 */
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -94854,7 +94920,9 @@ case OP_Ge: { /* same as TK_GE, jump, in1, in3 */
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -106199,6 +106267,8 @@ static void resolveAlias(
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -107084,6 +107154,19 @@ static int resolveExprStep(Walker *pWalker, Expr *pExpr){
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -107094,19 +107177,36 @@ static int resolveExprStep(Walker *pWalker, Expr *pExpr){
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -108006,7 +108106,9 @@ static int resolveSelectStep(Walker *pWalker, Select *p){
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
|
@@ -128934,13 +129036,13 @@ SQLITE_PRIVATE void sqlite3QuoteValue(StrAccum *pStr, sqlite3_value *pValue){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -129242,7 +129344,7 @@ static void replaceFunc(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -133162,7 +133264,7 @@ SQLITE_PRIVATE void sqlite3Insert(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -139461,31 +139563,7 @@ SQLITE_PRIVATE void sqlite3Pragma(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -139620,6 +139698,7 @@ SQLITE_PRIVATE void sqlite3Pragma(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -139810,6 +139889,38 @@ SQLITE_PRIVATE void sqlite3Pragma(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -153447,7 +153558,8 @@ SQLITE_PRIVATE Upsert *sqlite3UpsertNew(
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -153550,6 +153662,14 @@ SQLITE_PRIVATE int sqlite3UpsertAnalyzeTarget(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -153576,9 +153696,13 @@ SQLITE_PRIVATE int sqlite3UpsertNextIsIPK(Upsert *pUpsert){
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -166812,7 +166936,10 @@ SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -184749,6 +184876,8 @@ SQLITE_PRIVATE int sqlite3FtsUnicodeIsdiacritic(int);
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -188471,7 +188600,7 @@ static int fts3ShadowName(const char *zName){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -188479,30 +188608,21 @@ static int fts3Integrity(
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -188533,7 +188653,7 @@ static const sqlite3_module fts3Module = {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -200087,7 +200207,7 @@ static u64 fts3ChecksumIndex(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -200165,7 +200285,7 @@ static int fts3IntegrityCheck(Fts3Table *p, int *pbOk){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -200205,7 +200325,7 @@ static int fts3DoIntegrityCheck(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -203758,6 +203878,16 @@ static void jsonAppendChar(JsonString *p, char c){
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -203765,7 +203895,7 @@ static void jsonAppendChar(JsonString *p, char c){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -204766,6 +204896,7 @@ json_parse_restart:
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -205164,6 +205295,10 @@ static void jsonReturnStringAsBlob(JsonString *pStr){
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -205231,8 +205366,8 @@ static u32 jsonbPayloadSize(const JsonParse *pParse, u32 i, u32 *pSz){
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -205282,6 +205417,7 @@ static u32 jsonTranslateBlobToText(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -205290,6 +205426,7 @@ static u32 jsonTranslateBlobToText(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -205312,6 +205449,7 @@ static u32 jsonTranslateBlobToText(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -205425,11 +205563,12 @@ static u32 jsonTranslateBlobToText(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -205438,17 +205577,18 @@ static u32 jsonTranslateBlobToText(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -206376,6 +206516,38 @@ jsonInsertIntoBlob_patherror:
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -206431,34 +206603,30 @@ rebuild_from_cache:
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -206624,10 +206792,10 @@ static void jsonDebugPrintBlob(
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -207429,12 +207597,12 @@ static void jsonValidFunc(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -207445,8 +207613,11 @@ static void jsonValidFunc(
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -207571,7 +207742,7 @@ static void jsonArrayCompute(sqlite3_context *ctx, int isFinal){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -207581,7 +207752,7 @@ static void jsonArrayCompute(sqlite3_context *ctx, int isFinal){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -207691,7 +207862,7 @@ static void jsonObjectCompute(sqlite3_context *ctx, int isFinal){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -207701,7 +207872,7 @@ static void jsonObjectCompute(sqlite3_context *ctx, int isFinal){
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -208032,6 +208203,9 @@ static int jsonEachColumn(
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -208078,9 +208252,9 @@ static int jsonEachColumn(
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -208182,13 +208356,9 @@ static int jsonEachFilter(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -209110,11 +209280,9 @@ static RtreeNode *nodeNew(Rtree *pRtree, RtreeNode *pParent){
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -209158,7 +209326,6 @@ static int nodeAcquire(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -209218,6 +209385,7 @@ static int nodeAcquire(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -209362,6 +209530,7 @@ static void nodeGetCoord(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -209551,7 +209720,9 @@ static int rtreeClose(sqlite3_vtab_cursor *cur){
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -210136,7 +210307,11 @@ static int rtreeRowid(sqlite3_vtab_cursor *pVtabCursor, sqlite_int64 *pRowid){
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -210154,6 +210329,7 @@ static int rtreeColumn(sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i){
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -211635,8 +211811,7 @@ constraint:
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -211650,6 +211825,9 @@ static int rtreeEndTransaction(sqlite3_vtab *pVtab){
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -211768,7 +211946,7 @@ static sqlite3_module rtreeModule = {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -245327,23 +245505,26 @@ static void fts5IterSetOutputsTokendata(Fts5Iter *pIter){
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -250497,7 +250678,7 @@ static void fts5SourceIdFunc(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -250528,27 +250709,21 @@ static int fts5IntegrityMethod(
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/sqlite/sqlite3.h
@@ -146,9 +146,9 @@ extern "C" {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -420,6 +420,8 @@ typedef int (*sqlite3_callback)(void*,int,char**, char**);
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|