]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix some off-by-one errors in the comments for API functions create_function() and...
authordan <dan@noemail.net>
Wed, 29 Dec 2010 10:49:46 +0000 (10:49 +0000)
committerdan <dan@noemail.net>
Wed, 29 Dec 2010 10:49:46 +0000 (10:49 +0000)
FossilOrigin-Name: 7ded90baeb75db5af83345cd2c31211cbee1e91b

manifest
manifest.uuid
src/sqlite.h.in

index b66e26ff098fd2d0d6b0bef359ae1626ecf10fc3..5f47b63c4894c9ecb3982dd68d204ce5ffb6aee8 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Reduce\sthe\snumber\sof\scalls\sto\ssqlite3_realloc()\smade\sby\sfts3\swhen\squerying\sfor\sposition\sinformation\sof\sa\sterm\sprefix.
-D 2010-12-24T15:49:28
+C Fix\ssome\soff-by-one\serrors\sin\sthe\scomments\sfor\sAPI\sfunctions\screate_function()\sand\svalue_blob().\sNo\schanges\sto\scode\sor\stests.
+D 2010-12-29T10:49:47
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in de6498556d536ae60bb8bb10e8c1ba011448658c
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -176,7 +176,7 @@ F src/resolve.c 1c0f32b64f8e3f555fe1f732f9d6f501a7f05706
 F src/rowset.c 69afa95a97c524ba6faf3805e717b5b7ae85a697
 F src/select.c 8a7ba246b0b4bb45df7fbc52681728a0e3deaaa7
 F src/shell.c 83c6f0cc5a79a081c7b9ddfe4f557b47e0bad976
-F src/sqlite.h.in 54dd12d0dd8b6a4afd7b3d5a03d36ec64a67b641
+F src/sqlite.h.in b1cee73c93ce5e00bc112a9092f31fb22f5bbdde
 F src/sqlite3ext.h c90bd5507099f62043832d73f6425d8d5c5da754
 F src/sqliteInt.h 3ef5fc89a4c9755a08a68de107493785a284e27c
 F src/sqliteLimit.h a17dcd3fb775d63b64a43a55c54cb282f9726f44
@@ -894,7 +894,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P b82e85ece94c8e25c1dc3251f5444a295fbf8c89
-R ce7cb30b15477376bb0e944cbe48b806
+P 7088d9450f403f12f67eed558e368573101245d6
+R 41d13c42705e4dca92c02cfd9c746865
 U dan
-Z 4a4d34a31e9e8331938c1d98dd8bbb1f
+Z 37366d27149e755f493600c08e0d3d27
index a9a0998e7549c1c93a40e57100460ec52fc8fb35..d27be57b0e120fc7dd8a22a1bbf554f9610b657e 100644 (file)
@@ -1 +1 @@
-7088d9450f403f12f67eed558e368573101245d6
\ No newline at end of file
+7ded90baeb75db5af83345cd2c31211cbee1e91b
\ No newline at end of file
index 0a6fe2ac2c896a616d55b2227259db24a4394af5..77b0aad6399740baaefcb3e9bf241bcb8cf39336 100644 (file)
@@ -3411,7 +3411,7 @@ int sqlite3_reset(sqlite3_stmt *pStmt);
 ** ^(The fifth parameter is an arbitrary pointer.  The implementation of the
 ** function can gain access to this pointer using [sqlite3_user_data()].)^
 **
-** ^The seventh, eighth and ninth parameters, xFunc, xStep and xFinal, are
+** ^The sixth, seventh and eighth parameters, xFunc, xStep and xFinal, are
 ** pointers to C-language functions that implement the SQL function or
 ** aggregate. ^A scalar SQL function requires an implementation of the xFunc
 ** callback only; NULL pointers must be passed as the xStep and xFinal
@@ -3420,7 +3420,7 @@ int sqlite3_reset(sqlite3_stmt *pStmt);
 ** SQL function or aggregate, pass NULL poiners for all three function
 ** callbacks.
 **
-** ^(If the tenth parameter to sqlite3_create_function_v2() is not NULL,
+** ^(If the ninth parameter to sqlite3_create_function_v2() is not NULL,
 ** then it is destructor for the application data pointer. 
 ** The destructor is invoked when the function is deleted, either by being
 ** overloaded or when the database connection closes.)^
@@ -3524,7 +3524,7 @@ SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*)(void*,sqlite3_int64,int),void
 ** The xFunc (for scalar functions) or xStep (for aggregates) parameters
 ** to [sqlite3_create_function()] and [sqlite3_create_function16()]
 ** define callbacks that implement the SQL functions and aggregates.
-** The 4th parameter to these callbacks is an array of pointers to
+** The 3rd parameter to these callbacks is an array of pointers to
 ** [protected sqlite3_value] objects.  There is one [sqlite3_value] object for
 ** each parameter to the SQL function.  These routines are used to
 ** extract values from the [sqlite3_value] objects.