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
ce2a9f37
Commit
ce2a9f37
authored
24 years ago
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
1bea3c3c
REL_14_STABLE
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
4 deletions
+17
-4
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+7
-0
src/interfaces/ecpg/lib/data.c
src/interfaces/ecpg/lib/data.c
+3
-3
src/interfaces/ecpg/preproc/Makefile.in
src/interfaces/ecpg/preproc/Makefile.in
+1
-1
src/interfaces/ecpg/preproc/type.c
src/interfaces/ecpg/preproc/type.c
+6
-0
No files found.
src/interfaces/ecpg/ChangeLog
View file @
ce2a9f37
...
...
@@ -913,3 +913,10 @@ Sat Apr 8 13:10:12 CEST 2000
- Synced keyword.c.
- Set library version to 3.1.0.
- Set ecpg version to 2.7.0.
Mon May 15 10:51:31 CEST 2000
- Added patch by SAKAIDA Masaaki <sakaida@psn.co.jp> to fix segfault.
- Set ecpg version to 2.7.1.
This diff is collapsed.
Click to expand it.
src/interfaces/ecpg/lib/data.c
View file @
ce2a9f37
...
...
@@ -16,13 +16,13 @@ get_data(PGresult *results, int act_tuple, int act_field, int lineno,
ECPGlog
(
"get_data line %d: RESULT: %s
\n
"
,
lineno
,
pval
?
pval
:
""
);
/*
Now the pval is a pointer to the value.
*/
/* let's check is it really is an array if it should be */
/*
pval is a pointer to the value
*/
/* let's check is it really is an array if it should be
one
*/
if
(
isarray
)
{
if
(
*
pval
!=
'{'
)
{
ECPGlog
(
"get_data data entry does not look like an array in line %d
\n
"
,
lineno
);
ECPGlog
(
"get_data
:
data entry does not look like an array in line %d
\n
"
,
lineno
);
ECPGraise
(
lineno
,
ECPG_DATA_NOT_ARRAY
,
NULL
);
return
(
false
);
}
...
...
This diff is collapsed.
Click to expand it.
src/interfaces/ecpg/preproc/Makefile.in
View file @
ce2a9f37
...
...
@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
MAJOR_VERSION
=
2
MINOR_VERSION
=
7
PATCHLEVEL
=
0
PATCHLEVEL
=
1
CFLAGS
+=
-I
../include
-DMAJOR_VERSION
=
$(MAJOR_VERSION)
\
-DMINOR_VERSION
=
$(MINOR_VERSION)
-DPATCHLEVEL
=
$(PATCHLEVEL)
\
...
...
This diff is collapsed.
Click to expand it.
src/interfaces/ecpg/preproc/type.c
View file @
ce2a9f37
...
...
@@ -198,6 +198,12 @@ static void ECPGdump_a_struct(FILE *o, const char *name, const char *ind_name, l
void
ECPGdump_a_type
(
FILE
*
o
,
const
char
*
name
,
struct
ECPGtype
*
typ
,
const
char
*
ind_name
,
struct
ECPGtype
*
ind_typ
,
const
char
*
prefix
,
const
char
*
ind_prefix
)
{
if
(
ind_typ
==
NULL
)
{
ind_typ
=
&
ecpg_no_indicator
;
ind_name
=
"no_indicator"
;
}
switch
(
typ
->
typ
)
{
case
ECPGt_array
:
...
...
This diff is collapsed.
Click to expand it.
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