From 0259ee32c8b708b2614d326b8f173d40677cc643 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 16 Aug 2008 04:25:02 -0400 Subject: [PATCH] Added a session_t::clean_all method, for clearing all xdata within a session. --- src/session.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/session.h b/src/session.h index 5d8054d4..1073ca8f 100644 --- a/src/session.h +++ b/src/session.h @@ -167,6 +167,11 @@ public: void clean_xacts(); void clean_xacts(entry_t& entry); + void clean_all() { + clear_xacts(); + clear_accounts(); + } + // // Scope members //