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

Commitb8f7d3d

Browse files
author
Michael Meskes
committed
Do not free prepares statements at the end of a transaction.
1 parent524e9d6 commitb8f7d3d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,7 @@ Thu Mar 20 16:53:40 CET 2003
13681368
Fri Mar 21 15:13:42 CET 2003
13691369

13701370
- Made sure preprocessor accepts new datatypes.
1371+
- Do not free prepared statements at the end of a transaction.
13711372
- Set ecpg version to 2.12.0.
13721373
- Set ecpg library to 3.4.2.
13731374
- Set pgtypes library to 1.0.0

‎src/interfaces/ecpg/ecpglib/misc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.1 2003/03/16 10:42:53 meskes Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.2 2003/03/21 15:31:04 meskes Exp $ */
22

33
#include"postgres_fe.h"
44

@@ -109,9 +109,11 @@ ECPGtrans(int lineno, const char *connection_name, const char *transaction)
109109
{
110110
con->committed= true;
111111

112+
#if0
112113
/* deallocate all prepared statements */
113114
if (!ECPGdeallocate_all(lineno))
114115
return false;
116+
#endif
115117
}
116118

117119
return true;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp