Mercurial > urweb
diff src/c/cgi.c @ 1672:ea131de361d9
Fix some locking issues for client array
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 10 Jan 2012 17:32:48 -0500 |
parents | 36f7d1debb37 |
children | 3d922a28370b |
line wrap: on
line diff
--- a/src/c/cgi.c Tue Jan 10 15:34:18 2012 -0500 +++ b/src/c/cgi.c Tue Jan 10 17:32:48 2012 -0500 @@ -131,8 +131,7 @@ if (uw_get_app(ctx)->db_begin(ctx)) uw_error(ctx, FATAL, "Error running SQL BEGIN"); uw_get_app(ctx)->expunger(ctx, cli); - if (uw_get_app(ctx)->db_commit(ctx)) - uw_error(ctx, FATAL, "Error running SQL COMMIT"); + uw_commit(ctx); } void uw_post_expunge(uw_context ctx, void *data) {