apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: [PATCH]: Don't try to commit SQLite3 transaction twice
Date Fri, 28 Apr 2006 05:43:38 GMT
Quoting Bojan Smojver <bojan@rexursive.com>:

> I'll test this and wait for the feedback before I commit.

This patch would not in fact work at all. Function dbd_sqlite_query()  
checks the error code of the transaction before it does anything and  
bails of the status is bad. Therefore, bad transactions would never  
get rolled back at all. Please ignore this patch - the second one I  
sent should be better.

-- 
Bojan

Mime
View raw message