Mercurial > urweb
diff src/c/http.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 | 4d0b80dd4c37 |
children | 7095e1b7240b |
line wrap: on
line diff
--- a/src/c/http.c Tue Jan 10 15:34:18 2012 -0500 +++ b/src/c/http.c Tue Jan 10 17:32:48 2012 -0500 @@ -354,8 +354,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) {