Mercurial > urweb
comparison src/c/fastcgi.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 | a6eab6820b37 |
comparison
equal
deleted
inserted
replaced
1671:a54d223c3a7f | 1672:ea131de361d9 |
---|---|
630 | 630 |
631 void uw_do_expunge(uw_context ctx, uw_Basis_client cli, void *data) { | 631 void uw_do_expunge(uw_context ctx, uw_Basis_client cli, void *data) { |
632 if (uw_get_app(ctx)->db_begin(ctx)) | 632 if (uw_get_app(ctx)->db_begin(ctx)) |
633 uw_error(ctx, FATAL, "Error running SQL BEGIN"); | 633 uw_error(ctx, FATAL, "Error running SQL BEGIN"); |
634 uw_get_app(ctx)->expunger(ctx, cli); | 634 uw_get_app(ctx)->expunger(ctx, cli); |
635 if (uw_get_app(ctx)->db_commit(ctx)) | 635 uw_commit(ctx); |
636 uw_error(ctx, FATAL, "Error running SQL COMMIT"); | |
637 } | 636 } |
638 | 637 |
639 void uw_post_expunge(uw_context ctx, void *data) { | 638 void uw_post_expunge(uw_context ctx, void *data) { |
640 } | 639 } |
641 | 640 |