summaryrefslogtreecommitdiff
path: root/server/src/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/session.cc')
-rw-r--r--server/src/session.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/session.cc b/server/src/session.cc
index e53565b..31be81b 100644
--- a/server/src/session.cc
+++ b/server/src/session.cc
@@ -35,7 +35,7 @@
#include <unistd.h>
#include <errno.h>
-#include "journalwriter.h"
+#include "journal.h"
#include "database.h"
#include "configuration.h"
#include "connectionpool.h"
@@ -96,11 +96,11 @@ void Session::discard()
}
}
-JournalWriter *Session::journal()
+Journal *Session::journal()
{
if(_journal == NULL) {
_journal =
- new JournalWriter(Conf::journal_commit_addr, Conf::journal_commit_port);
+ new Journal(Conf::journal_commit_addr, Conf::journal_commit_port);
}
return _journal;
}
@@ -221,7 +221,7 @@ SessionAutolock::~SessionAutolock()
}
#ifdef TEST_SESSION
-//deps: configuration.cc journalwriter.cc journal_commit.cc mutex.cc debug.cc sessionserialiser.cc sessionparser.cc saxparser.cc
+//deps: configuration.cc journal.cc journal_commit.cc mutex.cc debug.cc sessionserialiser.cc sessionparser.cc saxparser.cc
//cflags: -I.. $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS)
//libs: $(PTHREAD_LIBS) $(EXPAT_LIBS)
#include <test.h>