Skip to content

Commit

Permalink
Possible new bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerkaraszewski committed Nov 1, 2024
1 parent 98f897e commit 8530684
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions libstuff/sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
** separate file. This file contains only code for the core SQLite library.
**
** The content in this amalgamation comes from Fossil check-in
** 042b57ff58f9c15b9d0727da9a1a1b2030a6.
** 91478084a6c24a905ce397000722be44f828.
*/
#define SQLITE_CORE 1
#define SQLITE_AMALGAMATION 1
Expand Down Expand Up @@ -472,7 +472,7 @@ extern "C" {
*/
#define SQLITE_VERSION "3.47.0"
#define SQLITE_VERSION_NUMBER 3047000
#define SQLITE_SOURCE_ID "2024-10-31 21:54:00 042b57ff58f9c15b9d0727da9a1a1b2030a6c266726aacd12d2b50d5fceb5539"
#define SQLITE_SOURCE_ID "2024-11-01 18:04:30 91478084a6c24a905ce397000722be44f828dbac9a60650ec58025b2543d1f94"

/*
** CAPI3REF: Run-Time Library Version Numbers
Expand Down Expand Up @@ -256861,7 +256861,7 @@ static void fts5SourceIdFunc(
){
assert( nArg==0 );
UNUSED_PARAM2(nArg, apUnused);
sqlite3_result_text(pCtx, "fts5: 2024-10-31 21:54:00 042b57ff58f9c15b9d0727da9a1a1b2030a6c266726aacd12d2b50d5fceb5539", -1, SQLITE_TRANSIENT);
sqlite3_result_text(pCtx, "fts5: 2024-11-01 18:04:30 91478084a6c24a905ce397000722be44f828dbac9a60650ec58025b2543d1f94", -1, SQLITE_TRANSIENT);
}

/*
Expand Down Expand Up @@ -274151,9 +274151,13 @@ SQLITE_PRIVATE int sqlite3HctDbCsrSeek(
case BTREE_DIR_FORWARD:
*pRes = 1;
rc = sqlite3HctDbCsrNext(pCsr);
*pRes = sqlite3HctDbCsrEof(pCsr) ? -1 : +1;
break;
case BTREE_DIR_REVERSE:
rc = sqlite3HctDbCsrPrev(pCsr);
/* Either the cursor is is now at EOF or it points to a key
** smaller than iKey/pRec. Either way, set (*pRes) to -ve. */
*pRes = -1;
break;
default: assert( pCsr->eDir==BTREE_DIR_NONE );
hctDbCsrReset(pCsr);
Expand Down
2 changes: 1 addition & 1 deletion libstuff/sqlite3.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ extern "C" {
*/
#define SQLITE_VERSION "3.47.0"
#define SQLITE_VERSION_NUMBER 3047000
#define SQLITE_SOURCE_ID "2024-10-31 21:54:00 042b57ff58f9c15b9d0727da9a1a1b2030a6c266726aacd12d2b50d5fceb5539"
#define SQLITE_SOURCE_ID "2024-11-01 18:04:30 91478084a6c24a905ce397000722be44f828dbac9a60650ec58025b2543d1f94"

/*
** CAPI3REF: Run-Time Library Version Numbers
Expand Down

0 comments on commit 8530684

Please sign in to comment.