Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
2ab3a888
Commit
2ab3a888
authored
Jan 18, 2002
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept subsequent commits. This should have been just a warning anyway. I
cannot see a reason why it should be an error.
parent
85bc3615
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+4
-0
src/interfaces/ecpg/lib/misc.c
src/interfaces/ecpg/lib/misc.c
+10
-5
No files found.
src/interfaces/ecpg/ChangeLog
View file @
2ab3a888
...
...
@@ -1207,5 +1207,9 @@ Sat Jan 12 22:04:02 CET 2002
- Fixed variable handling for struct members.
- Removed check for array input. An attribut might store the
complete array.
Fri Jan 18 16:49:02 CET 2002
- Accept subsequent commits.
- Set ecpg version to 2.9.0.
- Set library version to 3.3.0.
src/interfaces/ecpg/lib/misc.c
View file @
2ab3a888
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/misc.c,v 1.1
1 2001/12/23 12:17:41
meskes Exp $ */
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/misc.c,v 1.1
2 2002/01/18 15:51:00
meskes Exp $ */
#include "postgres_fe.h"
...
...
@@ -89,6 +89,10 @@ ECPGtrans(int lineno, const char *connection_name, const char *transaction)
/* if we have no connection we just simulate the command */
if
(
con
&&
con
->
connection
)
{
/* if we are not in autocommit mode, already have committed
* the transaction and get another commit, just ignore it */
if
(
!
con
->
committed
||
con
->
autocommit
)
{
if
((
res
=
PQexec
(
con
->
connection
,
transaction
))
==
NULL
)
{
...
...
@@ -97,6 +101,7 @@ ECPGtrans(int lineno, const char *connection_name, const char *transaction)
}
PQclear
(
res
);
}
}
if
(
strcmp
(
transaction
,
"commit"
)
==
0
||
strcmp
(
transaction
,
"rollback"
)
==
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment