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
c05abfb1
Commit
c05abfb1
authored
Feb 25, 2000
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
70130905
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
8 deletions
+13
-8
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+4
-0
src/interfaces/ecpg/include/ecpglib.h
src/interfaces/ecpg/include/ecpglib.h
+0
-1
src/interfaces/ecpg/lib/descriptor.c
src/interfaces/ecpg/lib/descriptor.c
+7
-2
src/interfaces/ecpg/preproc/output.c
src/interfaces/ecpg/preproc/output.c
+1
-0
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+1
-5
No files found.
src/interfaces/ecpg/ChangeLog
View file @
c05abfb1
...
...
@@ -828,5 +828,9 @@ Tue Feb 22 13:48:18 CET 2000
Wed Feb 23 17:08:28 CET 2000
- Even more clean ups.
Fri Feb 25 16:13:11 CET 2000
- Fixed some bugs I created when I cleaned up, thanks Christof.
- Set library version to 3.1.0.
- Set ecpg version to 2.7.0.
src/interfaces/ecpg/include/ecpglib.h
View file @
c05abfb1
...
...
@@ -37,7 +37,6 @@ extern "C"
char
*
ecpg_strdup
(
const
char
*
,
int
);
const
char
*
ECPGtype_name
(
enum
ECPGttype
);
/* and some vars */
extern
struct
auto_mem
*
auto_allocs
;
...
...
src/interfaces/ecpg/lib/descriptor.c
View file @
c05abfb1
...
...
@@ -47,7 +47,6 @@ ECPGDynamicType(Oid type)
}
}
#if 0
static
unsigned
int
ECPGDynamicType_DDT
(
Oid
type
)
{
...
...
@@ -61,7 +60,7 @@ ECPGDynamicType_DDT(Oid type)
return
SQL3_DDT_ILLEGAL
;
}
}
#endif
bool
ECPGget_desc_header
(
int
lineno
,
char
*
desc_name
,
int
*
count
)
...
...
@@ -260,6 +259,12 @@ ECPGget_desc(int lineno, char *desc_name, int index, ...)
ECPGlog
(
"ECPGget_desc: TYPE = %d
\n
"
,
ECPGDynamicType
(
PQftype
(
ECPGresult
,
index
)));
break
;
case
ECPGd_di_code
:
if
(
!
get_int_item
(
lineno
,
var
,
vartype
,
ECPGDynamicType_DDT
(
PQftype
(
ECPGresult
,
index
))))
return
(
false
);
ECPGlog
(
"ECPGget_desc: TYPE = %d
\n
"
,
ECPGDynamicType_DDT
(
PQftype
(
ECPGresult
,
index
)));
break
;
case
ECPGd_data
:
if
(
!
get_data
(
ECPGresult
,
0
,
index
,
lineno
,
vartype
,
ECPGt_NO_INDICATOR
,
var
,
NULL
,
varcharsize
,
offset
))
return
(
false
);
...
...
src/interfaces/ecpg/preproc/output.c
View file @
c05abfb1
...
...
@@ -120,6 +120,7 @@ output_statement(char * stmt, int mode, char *descriptor)
mode
|=
2
;
whenever_action
(
mode
);
free
(
stmt
);
free
(
descriptor
);
if
(
connection
!=
NULL
)
free
(
connection
);
}
...
...
src/interfaces/ecpg/preproc/preproc.y
View file @
c05abfb1
...
...
@@ -491,11 +491,7 @@ stmt: AlterTableStmt { output_statement($1, 0, NULL); }
free($1);
}
| ECPGExecute { output_statement($1, 0, NULL); }
| ECPGFetchDescStmt {
output_statement($1.str, 1, $1.name);
free($1.str);
free($1.name);
}
| ECPGFetchDescStmt { output_statement($1.str, 1, $1.name); }
| ECPGFree {
fprintf(yyout, "{ ECPGdeallocate(__LINE__, \"%s\");", $1);
...
...
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