Overview
SHA1 Hash: | dc09f0943283ed70c772bbbc668e5c2325764c9a |
---|---|
Date: | 2008-07-24 13:31:03 |
User: | drh |
Comment: | Fix a missing end-transaction in the content_new() procedure. |
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 [c2d4ab941a] to [6508de1118].
@@ -495,10 +495,11 @@ static Stmt s1, s2, s3; assert( g.repositoryOpen ); db_begin_transaction(); if( uuid_is_shunned(zUuid) ){ + db_end_transaction(0); return 0; } db_static_prepare(&s1, "INSERT INTO blob(rcvid,size,uuid,content)" "VALUES(0,-1,:uuid,NULL)"