Overview
SHA1 Hash: | f763b841982b46ddffc46f3eec9d8b55c9808137 |
---|---|
Date: | 2008-03-10 16:46:40 |
User: | drh |
Comment: | Fix a bug introduced by recent optimization efforts. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/content.c from [dbfb1885ae] to [933b11dafd].
@@ -441,11 +441,11 @@ db_prepare(&s1, "INSERT INTO blob(rcvid,size,uuid,content)" "VALUES(%d,%d,'%b',:data)", g.rcvid, size, &hash ); - blob_compress(pBlob, &cmpr); + db_bind_blob(&s1, ":data", &cmpr); db_exec(&s1); rid = db_last_insert_rowid(); if( !pBlob ){ db_multi_exec("INSERT OR IGNORE INTO phantom VALUES(%d)", rid); }