]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add text to the load_extension SQL function documentation that
authordrh <drh@noemail.net>
Mon, 1 Oct 2007 13:45:04 +0000 (13:45 +0000)
committerdrh <drh@noemail.net>
Mon, 1 Oct 2007 13:45:04 +0000 (13:45 +0000)
explains limitations in the use of that function.  Ticket #2672. (CVS 4446)

FossilOrigin-Name: b2befc84c360dde42c6dd10cbcc9572e37852438

manifest
manifest.uuid
www/lang.tcl

index 7857dd6cced61f466c22d2f55bd9aa937b74b833..eef476ff5d9691f59e6c0675d26505af413b0312 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Remove\s"const"\skeywords\sfrom\sthe\ssqlite3_index_info\sstructure\sdefinition.\nThe\suse\sof\sthis\skeyword\sis\ssuspected\sto\sbe\scausing\sproblems\sfor\ssome\ncompilers.\s(CVS\s4445)
-D 2007-09-21T12:43:17
+C Add\stext\sto\sthe\sload_extension\sSQL\sfunction\sdocumentation\sthat\nexplains\slimitations\sin\sthe\suse\sof\sthat\sfunction.\s\sTicket\s#2672.\s(CVS\s4446)
+D 2007-10-01T13:45:04
 F Makefile.in cbfb898945536a8f9ea8b897e1586dd1fdbcc5db
 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -556,7 +556,7 @@ F www/fullscanb.gif f7c94cb227f060511f8909e10f570157263e9a25
 F www/index-ex1-x-b.gif f9b1d85c3fa2435cf38b15970c7e3aa1edae23a3
 F www/index.tcl 087ec69ed7e28658e750a9ed38161c7f8344414c
 F www/indirect1b1.gif adfca361d2df59e34f9c5cac52a670c2bfc303a1
-F www/lang.tcl bb73892bf99c81658ec46d0c7a87e54cd21d435b
+F www/lang.tcl df99415fcac649e71566fe5b279615799b85ff67
 F www/limits.tcl 9035eb73e814ccb298595fd57670dec817533616
 F www/lockingv3.tcl e52345bd20323bef6146bfce18ae0829b2b7c87d
 F www/mingw.tcl d96b451568c5d28545fefe0c80bee3431c73f69c
@@ -580,7 +580,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 0c1e6f69cd55ced4af5dcfbeff04820ba0d5b051
-R d221fe17dbb1bc5aa1e2a7f9106dccf9
+P 005d780de6e9e377ee296ff576e58cf1b512f245
+R e5c5bdab974bf15dec956bf9d58e16f9
 U drh
-Z 4f0e3e4d1c3098ab0e3fee9b7e54dbbb
+Z ce44966a19ab56de0eaeaf617f455506
index c4d180c3554d66663db13b4da208fabf7962201d..81d81542a5f1858b568339f34fab6a5131a63c13 100644 (file)
@@ -1 +1 @@
-005d780de6e9e377ee296ff576e58cf1b512f245
\ No newline at end of file
+b2befc84c360dde42c6dd10cbcc9572e37852438
\ No newline at end of file
index 8dd37c36ffab5de66e2c7330d88f454f258dd3f2..a1ece58b49eb1a3276fdbed24b278714b074da9e 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Run this Tcl script to generate the lang-*.html files.
 #
-set rcsid {$Id: lang.tcl,v 1.133 2007/08/09 00:00:26 drh Exp $}
+set rcsid {$Id: lang.tcl,v 1.134 2007/10/01 13:45:04 drh Exp $}
 source common.tcl
 
 if {[llength $argv]>0} {
@@ -1342,6 +1342,16 @@ file named <i>X</i> using the entry point <i>Y</i>.  The result
 is a NULL.  If <i>Y</i> is omitted then the default entry point
 of <b>sqlite3_extension_init</b> is used.  This function raises
 an exception if the extension fails to load or initialize correctly.
+
+<p>This function will fail if the extension attempts to modify
+or delete a SQL function or collating sequence.  The
+extension can add new functions or collating sequences, but cannot
+modify or delete existing functions or collating sequences because
+those functions and/or collating sequences might be used elsewhere
+in the currently running SQL statement.  To load an extension that
+changes or deletes functions or collating sequences, use the
+<a href="capi3ref.html#sqlite3_load_extension">sqlite3_load_extension()</a>
+C-language API.</p>
 </tr>
 
 <tr>