Add new APIs to the end of the sqlite3_apis structure in loadext.c, in order

to preserve backwards compatibility.  Fix an incompatibility introduced
by (4108). (CVS 4168)

FossilOrigin-Name: 639993490ea829208b5f309bbe6c166c34e89d14
This commit is contained in:
drh 2007-07-20 10:33:58 +00:00
parent 85d5ef8b78
commit 6bf0ae74c2
3 changed files with 13 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C Documentation\schange\sin\spreparation\sfor\sversion\s3.4.1.\s(CVS\s4167)
D 2007-07-20T01:17:28
C Add\snew\sAPIs\sto\sthe\send\sof\sthe\ssqlite3_apis\sstructure\sin\sloadext.c,\sin\sorder\nto\spreserve\sbackwards\scompatibility.\s\sFix\san\sincompatibility\sintroduced\nby\s(4108).\s(CVS\s4168)
D 2007-07-20T10:33:59
F Makefile.in 0c0e53720f658c7a551046442dd7afba0b72bfbe
F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@ -82,7 +82,7 @@ F src/hash.h 1b3f7e2609141fd571f62199fc38687d262e9564
F src/insert.c 89d184422d85db0418e0f66032ccea3657078ecd
F src/legacy.c 388c71ad7fbcd898ba1bcbfc98a3ac954bfa5d01
F src/limits.h 71ab25f17e35e0a9f3f6f234b8ed49cc56731d35
F src/loadext.c 16f5d54efe1df9f281a0230fe0a8a67996def921
F src/loadext.c 6c24ee62adfe7fbfb2f2dd43ff18e5534b19010f
F src/main.c 65fc7de0b3c2e5b637c000ecf419c35de2525ef9
F src/malloc.c fa9bbccc4e6d099cd04c2518d238a1669c9d1020
F src/md5.c c5fdfa5c2593eaee2e32a5ce6c6927c986eaf217
@ -518,7 +518,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P e5c132fff3e8a0478622527a7e47d679594f899a
R 257ed73322841f9860d11028b8dec0eb
P cf227766aca5065fd68e83f145943fe9d15cd7ef
R a932a01e06beeb386be458c9e10ebc6a
U drh
Z 9de63deedb1b3572b2a40ff73689e23f
Z 715704104cff79f98a7444c08066924c

View File

@ -1 +1 @@
cf227766aca5065fd68e83f145943fe9d15cd7ef
639993490ea829208b5f309bbe6c166c34e89d14

View File

@ -158,7 +158,6 @@ const sqlite3_api_routines sqlite3_apis = {
sqlite3_create_function,
sqlite3_create_function16,
sqlite3_create_module,
sqlite3_create_module_v2,
sqlite3_data_count,
sqlite3_db_handle,
sqlite3_declare_vtab,
@ -242,6 +241,12 @@ const sqlite3_api_routines sqlite3_apis = {
sqlite3_prepare_v2,
sqlite3_prepare16_v2,
sqlite3_clear_bindings,
/*
** Added for 3.4.1
*/
sqlite3_create_module_v2,
};
/*