From: drh Date: Tue, 31 Jan 2012 13:35:29 +0000 (+0000) Subject: Improvements to the documentation for sqlite3_uri_boolean(). X-Git-Tag: version-3.7.11~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c7db6404560ca2f82b66be9fdf9821ebd10e4d8;p=thirdparty%2Fsqlite.git Improvements to the documentation for sqlite3_uri_boolean(). FossilOrigin-Name: b0a161791d66a40cea81dfc22f1cd2e9dfd067d0 --- diff --git a/manifest b/manifest index 3d3721f581..bb861fbc90 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Change\sa\scomment\sin\stest\sscript\sbackup.test. -D 2012-01-31T05:11:50.732 +C Improvements\sto\sthe\sdocumentation\sfor\ssqlite3_uri_boolean(). +D 2012-01-31T13:35:29.876 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 3f79a373e57c3b92dabf76f40b065e719d31ac34 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -182,7 +182,7 @@ F src/resolve.c 3d3e80a98f203ac6b9329e9621e29eda85ddfd40 F src/rowset.c 69afa95a97c524ba6faf3805e717b5b7ae85a697 F src/select.c 1ad267692ab09afe05092eddcb5aba96b796afe1 F src/shell.c 60d147c2411dd2d79a5151cfb9a068de87c7babe -F src/sqlite.h.in 361f4289058abe004b37cc73d2b36a9931d980de +F src/sqlite.h.in 371c30e4be94b9b0ea6400ed66663fcf8e891eb4 F src/sqlite3ext.h 6904f4aadf976f95241311fbffb00823075d9477 F src/sqliteInt.h 005e7da944fdb8c2b7883ebb345caf3835c1e162 F src/sqliteLimit.h 164b0e6749d31e0daa1a4589a169d31c0dec7b3d @@ -988,7 +988,7 @@ F tool/tostr.awk e75472c2f98dd76e06b8c9c1367f4ab07e122d06 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f F tool/warnings-clang.sh 9f406d66e750e8ac031c63a9ef3248aaa347ef2a F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381 -P 7b053d699ffa1da9c50f1a19edb052c0f014058a -R ff8784881662ee7078348fc0d424c603 -U dan -Z 922a3b32b7f89937010a5c23188c773e +P 313546b4566095aedccdaa27037036129b64d438 +R bf8c4343da628e7fc8856dda7f2f57a6 +U drh +Z 5558e8f047916c20c70a621acc455417 diff --git a/manifest.uuid b/manifest.uuid index a26ed2e430..99d2028266 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -313546b4566095aedccdaa27037036129b64d438 \ No newline at end of file +b0a161791d66a40cea81dfc22f1cd2e9dfd067d0 \ No newline at end of file diff --git a/src/sqlite.h.in b/src/sqlite.h.in index b04f7727a5..ed47378db3 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -2638,10 +2638,15 @@ int sqlite3_open_v2( ** a pointer to an empty string. ** ** The sqlite3_uri_boolean(F,P,B) routine assumes that P is a boolean -** parameter and returns true (non-zero) or false (0) according to the value -** of P. The value of P is true if it is "yes" or "true" or "on" -** or if value of P begins with a non-zero number. If P is not a query -** parameter on F then sqlite3_uri_boolean(F,P,B) returns (B!=0). +** parameter and returns true (1) or false (0) according to the value +** of P. The sqlite3_uri_boolean(F,P,B) routine returns true (1) if the +** value of query parameter P is one of "yes", "true", or "on" in any +** case or if the value begins with a non-zero number. The +** sqlite3_uri_boolean(F,P,B) routines returns false (0) if the value of +** query parameter P is one of "no", "false", or "off" in any case or +** if the value begins with a numeric zero. If P is not a query +** parameter on F or if the value of P is does not match any of the +** above, then sqlite3_uri_boolean(F,P,B) returns (B!=0). ** ** The sqlite3_uri_int64(F,P,D) routine converts the value of P into a ** 64-bit signed integer and returns that integer, or D if P does not