File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
* Portions Copyright (c) 1994, Regents of the University of California
15
15
*
16
16
*
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 $
18
18
*
19
19
*-------------------------------------------------------------------------
20
20
*/
32
32
//
33
33
// ****************************************************************
34
34
// 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.
37
38
class DLLIMPORT PgTransaction : public PgDatabase
38
39
{
39
40
public:
@@ -42,7 +43,6 @@ class DLLIMPORT PgTransaction : public PgDatabase
42
43
// explicit PgTransaction(const PgConnection&);
43
44
~PgTransaction (); // close connection and clean up
44
45
45
- protected:
46
46
ExecStatusType BeginTransaction ();
47
47
ExecStatusType EndTransaction ();
48
48
You can’t perform that action at this time.
0 commit comments