diff --git a/deps/sqlite3/from_unixtime.patch b/deps/sqlite3/from_unixtime.patch index 27da992dc1..c374dbdafd 100644 --- a/deps/sqlite3/from_unixtime.patch +++ b/deps/sqlite3/from_unixtime.patch @@ -1,6 +1,6 @@ --- sqlite-amalgamation-3400100/sqlite3.c 2022-12-28 14:26:39.000000000 +0000 +++ sqlite-amalgamation.patch/sqlite3.c 2023-01-10 16:48:54.793689411 +0000 -@@ -24713,6 +24713,44 @@ +@@ -24926,6 +24926,44 @@ } /* @@ -45,10 +45,10 @@ ** time( TIMESTRING, MOD, MOD, ...) ** ** Return HH:MM:SS -@@ -25019,6 +25019,7 @@ - PURE_DATE(time, -1, 0, 0, timeFunc ), +@@ -25344,6 +25344,7 @@ PURE_DATE(datetime, -1, 0, 0, datetimeFunc ), PURE_DATE(strftime, -1, 0, 0, strftimeFunc ), + PURE_DATE(timediff, 2, 0, 0, timediffFunc ), + DFUNCTION(from_unixtime, -1, 0, 0, from_unixtimeFunc ), DFUNCTION(current_time, 0, 0, 0, ctimeFunc ), DFUNCTION(current_timestamp, 0, 0, 0, ctimestampFunc), diff --git a/deps/sqlite3/sqlite-amalgamation-3420000.tar.gz b/deps/sqlite3/sqlite-amalgamation-3420000.tar.gz deleted file mode 100644 index 0b0dc08ece..0000000000 Binary files a/deps/sqlite3/sqlite-amalgamation-3420000.tar.gz and /dev/null differ diff --git a/deps/sqlite3/sqlite-amalgamation-3430200.tar.gz b/deps/sqlite3/sqlite-amalgamation-3430200.tar.gz new file mode 100644 index 0000000000..f3d4d9a849 Binary files /dev/null and b/deps/sqlite3/sqlite-amalgamation-3430200.tar.gz differ diff --git a/deps/sqlite3/sqlite3 b/deps/sqlite3/sqlite3 index df5c88c99f..7808afec56 120000 --- a/deps/sqlite3/sqlite3 +++ b/deps/sqlite3/sqlite3 @@ -1 +1 @@ -sqlite-amalgamation-3420000 \ No newline at end of file +sqlite-amalgamation-3430200 \ No newline at end of file diff --git a/deps/sqlite3/sqlite3.c-multiplication-overflow.patch b/deps/sqlite3/sqlite3.c-multiplication-overflow.patch index 4525cf1885..fe2203bf40 100644 --- a/deps/sqlite3/sqlite3.c-multiplication-overflow.patch +++ b/deps/sqlite3/sqlite3.c-multiplication-overflow.patch @@ -1,4 +1,4 @@ -@@ -175725,10 +175725,10 @@ +@@ -177218,10 +177218,10 @@ #ifndef SQLITE_OMIT_TWOSIZE_LOOKASIDE if( sz>=LOOKASIDE_SMALL*3 ){ nBig = szAlloc/(3*LOOKASIDE_SMALL+sz);