]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
The SQLITE_ENABLE_LOAD_EXTENSION macro enables the load_extension() SQL
authordrh <drh@noemail.net>
Tue, 27 Mar 2007 22:24:11 +0000 (22:24 +0000)
committerdrh <drh@noemail.net>
Tue, 27 Mar 2007 22:24:11 +0000 (22:24 +0000)
function by default without having to invoke sqlite3_enable_load_extension()
first. (CVS 3732)

FossilOrigin-Name: 113aab2cdf4480683cd5e844b5a48dcc093792ff

manifest
manifest.uuid
src/main.c

index 6683787ece0f01a5ab6a4c4e3d3e0c3c369d2419..ee531108bb819eb2e92e396d7675b8b5969b654d 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sthe\sprototype\sof\sthe\sCodecAttach\sfunction\sin\sattach.c.\s(CVS\s3731)
-D 2007-03-27T21:47:07
+C The\sSQLITE_ENABLE_LOAD_EXTENSION\smacro\senables\sthe\sload_extension()\sSQL\nfunction\sby\sdefault\swithout\shaving\sto\sinvoke\ssqlite3_enable_load_extension()\nfirst.\s(CVS\s3732)
+D 2007-03-27T22:24:11
 F Makefile.in 1fe3d0b46e40fd684e1e61f8e8056cefed16de9f
 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -73,7 +73,7 @@ F src/hash.h 1b3f7e2609141fd571f62199fc38687d262e9564
 F src/insert.c 9dbb62ba053769de20cf6b4ac73ceeb81ffc24f3
 F src/legacy.c 2631df6a861f830d6b1c0fe92b9fdd745b2c0cd6
 F src/loadext.c c186ad5c9e8a0aaa73d0caf5f604d112e45e8b89
-F src/main.c af8922e0205cf618392de2836c9efad71786d0d6
+F src/main.c ed005bbc1d94670c8d9e2b93d446bd493119c44c
 F src/md5.c c5fdfa5c2593eaee2e32a5ce6c6927c986eaf217
 F src/os.c 6df3e9c23eaa982d3e66ef770ad2519de5dd4d97
 F src/os.h ec780b3561d0bb887d13f193a1a889872c44a236
@@ -442,7 +442,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P e4452e8aede9282feaeeac19d0cdf82b01c3cc19
-R e81caee930d4fa63d67e784778509967
+P 902413e81b1ae8bee09987c798622a55ab2a1504
+R a3c3f96a41087c6c52e773240baf1bb3
 U drh
-Z 92c8d3d934954906a95fdeb376851102
+Z 265dc8f132e764318a2027b91d30531a
index b230b7f674aa5407d7decbccda9b184a7a4b7282..8df9c5a3f7ee5a5d4e366a63396a1725244ca264 100644 (file)
@@ -1 +1 @@
-902413e81b1ae8bee09987c798622a55ab2a1504
\ No newline at end of file
+113aab2cdf4480683cd5e844b5a48dcc093792ff
\ No newline at end of file
index 56c9621dc5b434e3cd0dfea9702925ad550590ac..46d8c993db1312d0108fbfcd886699951ea9d66b 100644 (file)
@@ -14,7 +14,7 @@
 ** other files are for internal use by SQLite and should not be
 ** accessed by users of the library.
 **
-** $Id: main.c,v 1.361 2007/02/28 04:47:27 drh Exp $
+** $Id: main.c,v 1.362 2007/03/27 22:24:11 drh Exp $
 */
 #include "sqliteInt.h"
 #include "os.h"
@@ -884,6 +884,9 @@ static int openDatabase(
   db->flags |= SQLITE_ShortColNames
 #if SQLITE_DEFAULT_FILE_FORMAT<4
                  | SQLITE_LegacyFileFmt
+#endif
+#ifdef SQLITE_ENABLE_LOAD_EXTENSION
+                 | SQLITE_LoadExtension
 #endif
       ;
   sqlite3HashInit(&db->aFunc, SQLITE_HASH_STRING, 0);