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
This commit is contained in:
drh
2006-01-30 22:12:31 +00:00
parent f04902e8f6
commit f28b266d43
4 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -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
+1 -1
View File
@@ -25,7 +25,7 @@ proc chng {date desc} {
puts "<DD><P><UL>$desc</UL></P></DD>"
}
chng {2006 January 30 (3.3.3 beta)} {
chng {2006 January 30 (3.3.3 stable)} {
<li>Minor bug fixes only.</li>
}