#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/trans.h"
-#include "ucw/respool.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/trans.h>
+#include <ucw/resource.h>
+#include <ucw/mempool.h>
#include <stdio.h>
DBG("Committing transaction %p", t);
ASSERT(t);
ASSERT(!t->thrown_exc);
- rp_detach(t->rpool);
+ rp_commit(t->rpool);
trans_pop(t, c);
trans_drop(t, c);
}