diff options
author | matthew <matthew> | 2007-05-09 11:18:36 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-05-09 11:18:36 +0000 |
commit | dcafcaf7acb93f1f5060db35e121ddea7227e428 (patch) | |
tree | 82ae4e9148b3af71dde0c96f4cc43e84b88f3200 /web/rss.cgi | |
parent | c02b648840faf2e5eadddfc23ab7ebdd28768bc8 (diff) |
Explicit rollbacks so that transactions aren't held.
Diffstat (limited to 'web/rss.cgi')
-rwxr-xr-x | web/rss.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/rss.cgi b/web/rss.cgi index 6c25b56fa..a35f70f50 100755 --- a/web/rss.cgi +++ b/web/rss.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: rss.cgi,v 1.3 2007-01-26 22:48:31 matthew Exp $ +# $Id: rss.cgi,v 1.4 2007-05-09 11:18:36 matthew Exp $ use strict; require 5.8.0; @@ -53,6 +53,7 @@ sub main { } else { throw Error::Simple('Unknown alert type') unless $type; } + dbh()->rollback(); } Page::do_fastcgi(\&main); |