From f84ddc183d47793e2011d041a563b6e4b0c53d67 Mon Sep 17 00:00:00 2001
From: drh <drh@noemail.net>
Date: Mon, 24 Mar 2008 12:51:46 +0000
Subject: [PATCH] Improved documentation of sqlite3_blob_open(). (CVS 4910)

FossilOrigin-Name: 1ed695f560a58786f2a8467c601f281c67034fd4
---
 manifest        | 12 ++++++------
 manifest.uuid   |  2 +-
 src/sqlite.h.in | 10 ++++++++--
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/manifest b/manifest
index 2954d438fd..5dcd7e345d 100644
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Remove\sredundant\stests\sfrom\sthe\sreparenter\sin\sthe\sbtree\smodule.\s(CVS\s4909)
-D 2008-03-23T00:20:36
+C Improved\sdocumentation\sof\ssqlite3_blob_open().\s(CVS\s4910)
+D 2008-03-24T12:51:46
 F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
 F Makefile.in cf434ce8ca902e69126ae0f94fc9f7dc7428a5fa
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -138,7 +138,7 @@ F src/random.c 2b2db2de4ab491f5a14d3480466f8f4b5a5db74a
 F src/select.c 35063b078beafe9aa35344a8ce039210920d7fea
 F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
 F src/shell.c 22297fffa6f00a6c6d44020fa13b1184a1bb372d
-F src/sqlite.h.in da2ab729b5c590c7dfa5418477ed181d52ab9c82
+F src/sqlite.h.in 61d8d1cefcbf0803c03c2179be138a78bfd1d335
 F src/sqlite3ext.h faacd0e6a81aabee0861c6d7883c9172e74ef5b3
 F src/sqliteInt.h 07b472437b2d7297c300f8b7cea5205984fa64d1
 F src/sqliteLimit.h eecbc288b410ae5565e71aaa4a439aae57bb0707
@@ -625,7 +625,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 2a89fb3c3e991b2c02e07b8b86b67b8d80e0360d
-R 54a05ecb037f5a5d52bb71d90fc4ab07
+P a807e7184b857414ce203af129ac1adf2012096c
+R 4101d535e06a9619e1c68b648b338bf6
 U drh
-Z 6f60803aaca5183cf67d90c8ccfc1a04
+Z c87ff7d608d92b0ae8912212b9742706
diff --git a/manifest.uuid b/manifest.uuid
index e7d25d06e9..d8c8bf83f1 100644
--- a/manifest.uuid
+++ b/manifest.uuid
@@ -1 +1 @@
-a807e7184b857414ce203af129ac1adf2012096c
\ No newline at end of file
+1ed695f560a58786f2a8467c601f281c67034fd4
\ No newline at end of file
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index 18d44d2631..335772c45b 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -30,7 +30,7 @@
 ** the version number) and changes its name to "sqlite3.h" as
 ** part of the build process.
 **
-** @(#) $Id: sqlite.h.in,v 1.299 2008/03/21 16:45:47 drh Exp $
+** @(#) $Id: sqlite.h.in,v 1.300 2008/03/24 12:51:46 drh Exp $
 */
 #ifndef _SQLITE3_H_
 #define _SQLITE3_H_
@@ -5124,7 +5124,7 @@ typedef struct sqlite3_blob sqlite3_blob;
 ** CAPI3REF: Open A BLOB For Incremental I/O {F17810}
 **
 ** This interfaces opens a handle to the blob located
-** in row iRow,, column zColumn, table zTable in database zDb;
+** in row iRow, column zColumn, table zTable in database zDb;
 ** in other words,  the same blob that would be selected by:
 **
 ** <pre>
@@ -5135,6 +5135,12 @@ typedef struct sqlite3_blob sqlite3_blob;
 ** read and write access. If it is zero, the blob is opened for read 
 ** access.
 **
+** Note that the database name is not the filename that contains
+** the database but rather the symbolic name of the database that
+** is assigned when the database is connected using [ATTACH].
+** For the main database file, the database name is "main".  For
+** TEMP tables, the database name is "temp".
+**
 ** On success, [SQLITE_OK] is returned and the new 
 ** [sqlite3_blob | blob handle] is written to *ppBlob. 
 ** Otherwise an error code is returned and