Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f211f8

Browse files
committed
Fix for PgTransaction class to make these visible to C apps:
ExecStatusType BeginTransaction(); ExecStatusType EndTransaction();Piotr Klaban
1 parent5a5e46e commit8f211f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/interfaces/libpq++/pgtransdb.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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
*/
@@ -32,8 +32,9 @@
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.
3738
classDLLIMPORT PgTransaction : public PgDatabase
3839
{
3940
public:
@@ -42,7 +43,6 @@ class DLLIMPORT PgTransaction : public PgDatabase
4243
// explicit PgTransaction(const PgConnection&);
4344
~PgTransaction();// close connection and clean up
4445

45-
protected:
4646
ExecStatusTypeBeginTransaction();
4747
ExecStatusTypeEndTransaction();
4848

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp