From f28b266d436d30251d387c7662e4055b13f523d1 Mon Sep 17 00:00:00 2001 From: drh Date: Mon, 30 Jan 2006 22:12:31 +0000 Subject: [PATCH] Clarify that the nBytes parameter to sqlite3_prepare is always the number of bytes and never the number of characters. Ticket #1646. (CVS 3039) FossilOrigin-Name: 8efc8c57103cab61bc06842391744bec69c24428 --- manifest | 14 +++++++------- manifest.uuid | 2 +- www/capi3ref.tcl | 8 ++++---- www/changes.tcl | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/manifest b/manifest index 3c6316679a..515c4342f9 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Documentation\supdates\sin\spreparation\sfor\sthe\srelease\sof\s3.3.3\sstable.\s(CVS\s3038) -D 2006-01-30T16:20:30 +C Clarify\sthat\sthe\snBytes\sparameter\sto\ssqlite3_prepare\sis\salways\sthe\nnumber\sof\sbytes\sand\snever\sthe\snumber\sof\scharacters.\s\sTicket\s#1646.\s(CVS\s3039) +D 2006-01-30T22:12:31 F Makefile.in e936c6fc3134838318aa0335a85041e6da31f6ee F Makefile.linux-gcc 74ba0eadf88748a9ce3fd03d2a3ede2e6715baec F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 @@ -305,8 +305,8 @@ F www/audit.tcl 90e09d580f79c7efec0c7d6f447b7ec5c2dce5c0 F www/autoinc.tcl b357f5ba954b046ee35392ce0f884a2fcfcdea06 F www/c_interface.tcl b51b08591554c16a0c3ef718364a508ac25abc7e F www/capi3.tcl 7a7cc225fe02eb7ab861a6019b08baa0014409e1 -F www/capi3ref.tcl 6311fd30c07aa82b4bdaab9822bce95dd8ab0e7c -F www/changes.tcl afb94c4f007589734607b1f8619b80c16e3fd29e +F www/capi3ref.tcl f5149a0115178d3ee07584c59a0c3ffd37dc0a66 +F www/changes.tcl f3266a359d7b11792d5702fe93d6098a4790aff0 F www/common.tcl 14d121c28532ad20c3e349caa4db708b0b822083 F www/compile.tcl 276546d7eb445add5a867193bbd80f6919a6b084 F www/conflict.tcl cdd0f4b59b0ba6d61f67e6a38f3ae45853bacb30 @@ -349,7 +349,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513 -P e10d229ff21ac884dda24f0ff936aaeb36ff9a3f -R 4524679dd348074f21f4d3ee0aeda15a +P 6537b5713a9541ec5712ae2564a801a07f93f4c8 +R 266b57c79998c7761e70c9e0903587ae U drh -Z 8c535099f655c960885111463582efa2 +Z 21899a16ae1af06f390fe8c9764e27e4 diff --git a/manifest.uuid b/manifest.uuid index a88f0e8433..6f4549b864 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -6537b5713a9541ec5712ae2564a801a07f93f4c8 \ No newline at end of file +8efc8c57103cab61bc06842391744bec69c24428 \ No newline at end of file diff --git a/www/capi3ref.tcl b/www/capi3ref.tcl index b1f7d66c26..5f33aca42b 100644 --- a/www/capi3ref.tcl +++ b/www/capi3ref.tcl @@ -1,4 +1,4 @@ -set rcsid {$Id: capi3ref.tcl,v 1.30 2006/01/17 16:10:14 danielk1977 Exp $} +set rcsid {$Id: capi3ref.tcl,v 1.31 2006/01/30 22:12:31 drh Exp $} source common.tcl header {C/C++ Interface For SQLite Version 3} puts { @@ -108,11 +108,11 @@ api {} { In those routines that have a fourth argument, its value is the number of bytes - in the parameter. This is the number of characters for UTF-8 strings - and the number of bytes for UTF-16 strings and blobs. The number + in the parameter. To be clear: the value is the number of bytes in the + string, not the number of characters. The number of bytes does not include the zero-terminator at the end of strings. If the fourth parameter is negative, the length of the string is - computed using strlen(). + number of bytes up to the first zero terminator. The fifth argument to sqlite3_bind_blob(), sqlite3_bind_text(), and sqlite3_bind_text16() is a destructor used to dispose of the BLOB or diff --git a/www/changes.tcl b/www/changes.tcl index bae64cda6a..4a04a6c7c1 100644 --- a/www/changes.tcl +++ b/www/changes.tcl @@ -25,7 +25,7 @@ proc chng {date desc} { puts "

" } -chng {2006 January 30 (3.3.3 beta)} { +chng {2006 January 30 (3.3.3 stable)} {
  • Minor bug fixes only.
  • }