react-native-nitro-sqlite icon indicating copy to clipboard operation
react-native-nitro-sqlite copied to clipboard

Upgrade SQLite from version 3.39.4 to version 3.43.2

Open mjmasn opened this issue 2 years ago • 1 comments

Current version is about a year out of date

mjmasn avatar Oct 30 '23 12:10 mjmasn

Hi @mjmasn @mrousavy @Szymon20000

I'm trying to update this lib to the latest version of SQLite. I forked the repo, and downloaded the latest version of SQLite

#define SQLITE_VERSION "3.45.0" #define SQLITE_VERSION_NUMBER 3045000 #define SQLITE_SOURCE_ID "2024-01-15 17:01:13 1066602b2b1976fe58b5150777cced894af17c803e068f5918390d6915b46e1d"

Then I replaced the sqlite3.h and sqlite3.c files. I built a new version and tried to use it , is working but seems the sqlite version was not updated successfully.

To check which version is running I executed this code QuickSqliteClient.executeSql.apply(null, ['SELECT sqlite_source_id()']) and getting this as result [{“sqlite_source_id()“: “2022-10-14 20:58:05 554764a6e721fab307c63a4f98cd958c8428a5d9d8edfde951858d6fd02daapl”}] That is the same that I'm getting if I execute it using this library.

I'm wondering what else is necessary to update the sqlite version?

any help would be awesome, thanks in advance.

facucaramelpoint avatar Jan 23 '24 14:01 facucaramelpoint