Commit 3efcaaad authored by Ajay Patel's avatar Ajay Patel

Modify extension-functions entrypoint

parent bb1b3faa
Pipeline #36986812 passed with stages
in 128 minutes and 52 seconds
......@@ -8,7 +8,7 @@ There are a few components that need updating when updating the version of `sqli
3. **Update SQLite3 Extensions:** Download the latest SQLite source code package from the [SQLite website](https://www.sqlite.org/download.html). Update the `third_party/sqlite3/ext` with the `ext` folder from the SQLite source code package. Also copy all of the files from the `src` folder to `third_party/sqlite3/raw`. Also copy `opcodes.c` and `opcodes.h` to `third_party/sqlite3/raw`.
4. **Update SQLite3 Extension Functions:** Download the latest `extension-functions.c` from the [SQLite website](https://www.sqlite.org/contrib) and place it in `third_party/sqlite3/ext/misc`.
4. **Update SQLite3 Extension Functions:** Download the latest `extension-functions.c` from the [SQLite website](https://www.sqlite.org/contrib) and place it in `third_party/sqlite3/ext/misc` as `extension_functions.c` and replace `sqlite3_extension_init` with `sqlite3_extension_functions_init`.
5. **Copy `shell.c`:** Copy `shell.c` from the root of `third_party/_apsw` (which was updated in step #1) to `third_party/sqlite3/apsw_shell.c`.
......
......@@ -1835,7 +1835,7 @@ int RegisterExtensionFunctions(sqlite3 *db){
}
#ifdef COMPILE_SQLITE_EXTENSIONS_AS_LOADABLE_MODULE
int sqlite3_extension_init(
int sqlite3_extension_functions_init(
sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi){
SQLITE_EXTENSION_INIT2(pApi);
RegisterExtensionFunctions(db);
......
__version_info__ = ('0', '0', '73')
__version_info__ = ('0', '0', '74')
__version__ = '.'.join(__version_info__)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment