1414* Portions Copyright (c) 1994, Regents of the University of California
1515*
1616*
17- * $Id: pgtransdb.h,v 1.10 2002/07/02 16:32:19 momjian Exp $
17+ * $Id: pgtransdb.h,v 1.11 2002/07/18 04:49:30 momjian Exp $
1818*
1919*-------------------------------------------------------------------------
2020*/
3232//
3333// ****************************************************************
3434// This is the database access class that keeps an open
35- // transaction block during its lifetime. The block is ENDed when
36- // the object is destroyed.
35+ // transaction block during its lifetime. The block is ABORTed when
36+ // the object is destroyed, unless you call EndTransaction() method
37+ // before destruction of the object.
3738class DLLIMPORT PgTransaction : public PgDatabase
3839{
3940public:
@@ -42,7 +43,6 @@ class DLLIMPORT PgTransaction : public PgDatabase
4243// explicit PgTransaction(const PgConnection&);
4344~PgTransaction ();// close connection and clean up
4445
45- protected:
4646ExecStatusTypeBeginTransaction ();
4747ExecStatusTypeEndTransaction ();
4848