1 // author : Boris Kolpackov <boris@dre.vanderbilt.edu>
3 #include "Protocol.hpp"
12 char const* labels[] = {
13 "NONE", "BEGIN", "COMMIT", "ABORT", "COMMITED", "ABORTED"};
17 tslabel (Protocol::TransactionStatus s)
23 operator << (std::ostream& o, Transaction const& t)
25 return o << "{" << t.id << "; " << tslabel (t.status) << "}";