diff options
author | deva <deva> | 2010-06-21 10:50:11 +0000 |
---|---|---|
committer | deva <deva> | 2010-06-21 10:50:11 +0000 |
commit | 6e5274045d2fb060d9ee437a254a0eb32036f281 (patch) | |
tree | c5a9ffba6f54f4f4c82d6831db0b1cfd7615d8fe /server/src/session.cc | |
parent | fc76b7124f2dd642611efb7b6deaeebf6517543a (diff) |
Rename JournalWriter class to just Journal.
Diffstat (limited to 'server/src/session.cc')
-rw-r--r-- | server/src/session.cc | 8 |
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> |