1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-22 20:22:44 +03:00

Update the header comment for sqlite3_blob_open to note that it is not possible to write to a column that is indexed, part of a primary key or, if foreign key support is enabled, part of a foreign key.

FossilOrigin-Name: 2fd487fdb669df89a8eb62cd0b7dc27ea1016edf
This commit is contained in:
dan
2009-10-07 11:29:40 +00:00
parent b616309f52
commit fedd4805be
3 changed files with 11 additions and 7 deletions

View File

@@ -4507,6 +4507,10 @@ typedef struct sqlite3_blob sqlite3_blob;
**
** If the flags parameter is non-zero, then the BLOB is opened for read
** and write access. If it is zero, the BLOB is opened for read access.
** It is not possible to open a column that is part of an index or primary
** key for writing. ^If [foreign key constraints] are enabled, it is
** not possible to open a column that is part of a foreign key (sometimes
** termed a child key) for writing.
**
** Note that the database name is not the filename that contains
** the database but rather the symbolic name of the database that