Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
0c96e427
Commit
0c96e427
authored
18 years ago
by
Michael Meskes
Browse files
Options
Downloads
Patches
Plain Diff
Applied patch by Peter Harris to free auto_mem structure on connect
parent
415b9253
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/interfaces/ecpg/ChangeLog
+4
-0
4 additions, 0 deletions
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ecpglib/connect.c
+4
-1
4 additions, 1 deletion
src/interfaces/ecpg/ecpglib/connect.c
src/interfaces/ecpg/ecpglib/memory.c
+2
-2
2 additions, 2 deletions
src/interfaces/ecpg/ecpglib/memory.c
with
10 additions
and
3 deletions
src/interfaces/ecpg/ChangeLog
+
4
−
0
View file @
0c96e427
...
...
@@ -2149,5 +2149,9 @@ Th 14. Sep 09:47:03 CEST 2006
- Completely removed complex tests.
- Added missing constuctor/destructor for interval and date.
We 8. Nov 10:53:42 CET 2006
- Applied patch by Peter Harris to free auto_mem struct in ECPGconnect.
- Set ecpg library version to 5.2.
- Set ecpg version to 4.2.1.
This diff is collapsed.
Click to expand it.
src/interfaces/ecpg/ecpglib/connect.c
+
4
−
1
View file @
0c96e427
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.3
6
2006/1
0
/0
4 00:30:11 momjian
Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.3
7
2006/1
1
/0
8 10:46:47 meskes
Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include
"postgres_fe.h"
...
...
@@ -277,6 +277,9 @@ ECPGconnect(int lineno, int c, const char *name, const char *user, const char *p
ECPGinit_sqlca
(
sqlca
);
/* clear auto_mem structure because some error handling functions might access it */
ECPGclear_auto_mem
();
if
(
INFORMIX_MODE
(
compat
))
{
char
*
envname
;
...
...
This diff is collapsed.
Click to expand it.
src/interfaces/ecpg/ecpglib/memory.c
+
2
−
2
View file @
0c96e427
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/memory.c,v 1.
7
200
5
/1
0/15 02
:4
9
:47 m
omjian
Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/memory.c,v 1.
8
200
6
/1
1/08 10
:4
6
:47 m
eskes
Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include
"postgres_fe.h"
...
...
@@ -101,7 +101,7 @@ ECPGclear_auto_mem(void)
{
struct
auto_mem
*
am
;
/*
free just
our own structure */
/*
only free
our own structure */
for
(
am
=
auto_allocs
;
am
;)
{
struct
auto_mem
*
act
=
am
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment