1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix to check-in (4005). A call to sqlite3_column_blob() should not make

subsequent calls to sqlite3_column_type() return SQLITE_BLOB.
Sqlite3_column_type() returns the initial type. (CVS 4006)

FossilOrigin-Name: b5e85deb5a0316781a6f39d6085b9fcfb9f88c6d
This commit is contained in:
drh
2007-05-15 14:10:40 +00:00
parent 1f0feef80b
commit 150dbacea4
3 changed files with 7 additions and 8 deletions

View File

@@ -40,7 +40,6 @@ const void *sqlite3_value_blob(sqlite3_value *pVal){
sqlite3VdbeMemExpandBlob(p);
p->flags &= ~MEM_Str;
p->flags |= MEM_Blob;
p->type = SQLITE_BLOB;
return p->z;
}else{
return sqlite3_value_text(pVal);