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
f1808565
Commit
f1808565
authored
Jan 29, 2010
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few typos in ecpg. Two were in comments, the third made a log output reverse yes and no.
parent
7efd71f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/execute.c
+2
-2
src/interfaces/ecpg/preproc/ecpg.header
src/interfaces/ecpg/preproc/ecpg.header
+3
-3
No files found.
src/interfaces/ecpg/ecpglib/execute.c
View file @
f1808565
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.
89 2010/01/22 14:13:03
meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.
90 2010/01/29 15:57:01
meskes Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
...
...
@@ -303,7 +303,7 @@ ecpg_is_type_an_array(int type, const struct statement * stmt, const struct vari
return
(
ECPG_ARRAY_ERROR
);
ecpg_type_infocache_push
(
&
(
stmt
->
connection
->
cache_head
),
type
,
isarray
,
stmt
->
lineno
);
ecpg_log
(
"ecpg_is_type_an_array on line %d: type (%d); C (%d); array (%s)
\n
"
,
stmt
->
lineno
,
type
,
var
->
type
,
isarray
?
"yes"
:
"no"
);
ecpg_log
(
"ecpg_is_type_an_array on line %d: type (%d); C (%d); array (%s)
\n
"
,
stmt
->
lineno
,
type
,
var
->
type
,
(
isarray
!=
ECPG_ARRAY_NONE
)
?
"yes"
:
"no"
);
return
isarray
;
}
...
...
src/interfaces/ecpg/preproc/ecpg.header
View file @
f1808565
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.header,v 1.1
1 2010/01/26 09:07:3
1 meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.header,v 1.1
2 2010/01/29 15:57:0
1 meskes Exp $ */
/* Copyright comment */
%{
...
...
@@ -308,7 +308,7 @@ adjust_outofscope_cursor_vars(struct cursor *cur, bool insert)
sprintf(temp, "%d, &(", ecpg_internal_var++);
}
/* create call to "ECPGset_var(<counter>, <pointer>
. <linen
number>)" */
/* create call to "ECPGset_var(<counter>, <pointer>
, <line
number>)" */
if (!skip_set_var)
result = cat_str(5, result, make_str("ECPGset_var("), mm_strdup(temp), mm_strdup(original_var), make_str("), __LINE__);\n"));
...
...
@@ -354,7 +354,7 @@ adjust_outofscope_cursor_vars(struct cursor *cur, bool insert)
sprintf(temp, "%d, &(", ecpg_internal_var++);
}
/* create call to "ECPGset_var(<counter>, <pointer>
. <linen
number>)" */
/* create call to "ECPGset_var(<counter>, <pointer>
, <line
number>)" */
result = cat_str(5, result, make_str("ECPGset_var("), mm_strdup(temp), mm_strdup(original_var), make_str("), __LINE__);\n"));
}
...
...
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