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
223a9cd3
Commit
223a9cd3
authored
Jan 06, 2010
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove __FUNCTION__ keyword that is not recognized by som compilers.
parent
822697a2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
110 additions
and
102 deletions
+110
-102
src/interfaces/ecpg/ecpglib/sqlda.c
src/interfaces/ecpg/ecpglib/sqlda.c
+4
-4
src/interfaces/ecpg/include/sqlda-native.h
src/interfaces/ecpg/include/sqlda-native.h
+10
-2
src/interfaces/ecpg/test/expected/compat_informix-sqlda.stderr
...nterfaces/ecpg/test/expected/compat_informix-sqlda.stderr
+48
-48
src/interfaces/ecpg/test/expected/sql-sqlda.stderr
src/interfaces/ecpg/test/expected/sql-sqlda.stderr
+48
-48
No files found.
src/interfaces/ecpg/ecpglib/sqlda.c
View file @
223a9cd3
...
...
@@ -215,7 +215,7 @@ ecpg_build_compat_sqlda(int line, PGresult *res, int row, enum COMPAT_MODE compa
fname
=
(
char
*
)(
sqlvar
+
sqld
);
sqlda
->
sqld
=
sqld
;
ecpg_log
(
"
%s sqld = %d
\n
"
,
__FUNCTION__
,
sqld
);
ecpg_log
(
"
ecpg_build_compat_sqlda on line %d sqld = %d
\n
"
,
line
,
sqld
);
sqlda
->
desc_occ
=
size
;
/* cheat here, keep the full allocated size */
sqlda
->
sqlvar
=
sqlvar
;
...
...
@@ -373,7 +373,7 @@ ecpg_set_compat_sqlda(int lineno, struct sqlda_compat **_sqlda, const PGresult *
}
isnull
=
PQgetisnull
(
res
,
row
,
i
);
ecpg_log
(
"
%s row %d col %d %s
\n
"
,
__FUNCTION__
,
row
,
i
,
isnull
?
"IS NULL"
:
"IS NOT NULL"
);
ecpg_log
(
"
ecpg_set_compat_sqlda on line %d row %d col %d %s
\n
"
,
lineno
,
row
,
i
,
isnull
?
"IS NULL"
:
"IS NOT NULL"
);
sqlda
->
sqlvar
[
i
].
sqlind
=
isnull
?
&
value_is_null
:
&
value_is_not_null
;
sqlda
->
sqlvar
[
i
].
sqlitype
=
ECPGt_short
;
sqlda
->
sqlvar
[
i
].
sqlilen
=
sizeof
(
short
);
...
...
@@ -408,7 +408,7 @@ ecpg_build_native_sqlda(int line, PGresult *res, int row, enum COMPAT_MODE compa
sprintf
(
sqlda
->
sqldaid
,
"SQLDA "
);
sqlda
->
sqld
=
sqlda
->
sqln
=
PQnfields
(
res
);
ecpg_log
(
"
%s sqld = %d
\n
"
,
__FUNCTION__
,
sqlda
->
sqld
);
ecpg_log
(
"
ecpg_build_native_sqlda on line %d sqld = %d
\n
"
,
line
,
sqlda
->
sqld
);
sqlda
->
sqldabc
=
sizeof
(
struct
sqlda_struct
)
+
(
sqlda
->
sqld
-
1
)
*
sizeof
(
struct
sqlvar_struct
);
for
(
i
=
0
;
i
<
sqlda
->
sqld
;
i
++
)
...
...
@@ -556,7 +556,7 @@ ecpg_set_native_sqlda(int lineno, struct sqlda_struct **_sqlda, const PGresult *
}
isnull
=
PQgetisnull
(
res
,
row
,
i
);
ecpg_log
(
"
%s row %d col %d %s
\n
"
,
__FUNCTION__
,
row
,
i
,
isnull
?
"IS NULL"
:
"IS NOT NULL"
);
ecpg_log
(
"
ecpg_set_native_sqlda on line %d row %d col %d %s
\n
"
,
lineno
,
row
,
i
,
isnull
?
"IS NULL"
:
"IS NOT NULL"
);
sqlda
->
sqlvar
[
i
].
sqlind
=
isnull
?
&
value_is_null
:
&
value_is_not_null
;
if
(
!
isnull
)
{
...
...
src/interfaces/ecpg/include/sqlda-native.h
View file @
223a9cd3
/*
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/sqlda-native.h,v 1.
1 2010/01/05 16:38:23
meskes Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/sqlda-native.h,v 1.
2 2010/01/06 15:10:21
meskes Exp $
*/
#ifndef ECPG_SQLDA_NATIVE_H
#define ECPG_SQLDA_NATIVE_H
#include "postgres_fe.h"
/*
* Maximum length for identifiers (e.g. table names, column names,
* function names). Names actually are limited to one less byte than this,
* because the length must include a trailing zero byte.
*
* This should be at least as much as NAMEDATALEN of the database the
* applications run against.
*/
#define NAMEDATALEN 64
struct
sqlname
{
...
...
src/interfaces/ecpg/test/expected/compat_informix-sqlda.stderr
View file @
223a9cd3
...
...
@@ -36,27 +36,27 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 109: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_compat_sqlda sqld = 5
[NO_PID]: ecpg_build_compat_sqlda
on line 109
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 109: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: 1 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: a offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: 1.0 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: 1 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: a offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -68,21 +68,21 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 109: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_compat_sqlda sqld = 5
[NO_PID]: ecpg_build_compat_sqlda
on line 109
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 109: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: 2 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 1 IS NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 1 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 2 IS NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 2 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 3 IS NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 3 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 4 IS NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 4 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 109: putting result (1 tuple 5 fields) into sqlda descriptor
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -92,27 +92,27 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 109: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_compat_sqlda sqld = 5
[NO_PID]: ecpg_build_compat_sqlda
on line 109
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 109: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: 4.0 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 109
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 109: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -148,27 +148,27 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 146: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_compat_sqlda sqld = 5
[NO_PID]: ecpg_build_compat_sqlda
on line 146
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 146: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: 1 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: a offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: 1.0 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: 1 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: a offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -180,21 +180,21 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 146: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_compat_sqlda sqld = 5
[NO_PID]: ecpg_build_compat_sqlda
on line 146
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 146: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: 2 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 1 IS NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 1 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 2 IS NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 2 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 3 IS NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 3 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 4 IS NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 4 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 146: putting result (1 tuple 5 fields) into sqlda descriptor
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -204,27 +204,27 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 146: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_compat_sqlda sqld = 5
[NO_PID]: ecpg_build_compat_sqlda
on line 146
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 146: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: 4.0 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 146
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 146: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -256,27 +256,27 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 184: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_compat_sqlda sqld = 5
[NO_PID]: ecpg_build_compat_sqlda
on line 184
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 184: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 184
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 184: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 184
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 184: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 184
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 184: RESULT: 4.0 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 184
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 184: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 184
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 184: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -296,27 +296,27 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 221: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_compat_sqlda sqld = 5
[NO_PID]: ecpg_build_compat_sqlda
on line 221
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 221: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 221
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 221: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 221
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 221: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 221
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 221: RESULT: 4.0 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 221
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 221: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_compat_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_compat_sqlda
on line 221
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 221: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
src/interfaces/ecpg/test/expected/sql-sqlda.stderr
View file @
223a9cd3
...
...
@@ -36,25 +36,25 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 111: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_native_sqlda sqld = 5
[NO_PID]: ecpg_build_native_sqlda
on line 111
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 111: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: 1 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: a offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: 1 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: a offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -66,21 +66,21 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 111: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_native_sqlda sqld = 5
[NO_PID]: ecpg_build_native_sqlda
on line 111
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 111: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: 2 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 1 IS NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 1 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 2 IS NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 2 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 3 IS NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 3 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 4 IS NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 4 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 111: putting result (1 tuple 5 fields) into sqlda descriptor
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -90,25 +90,25 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 111: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_native_sqlda sqld = 5
[NO_PID]: ecpg_build_native_sqlda
on line 111
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 111: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 111
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 111: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -144,67 +144,67 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 141: correctly got 3 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_native_sqlda sqld = 5
[NO_PID]: ecpg_build_native_sqlda
on line 141
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 141: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 2 col 0 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 2 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 2 col 1 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 2 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 2 col 2 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 2 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 2 col 3 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 2 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 2 col 4 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 2 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 141: putting result (1 tuple 5 fields) into sqlda descriptor
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_native_sqlda sqld = 5
[NO_PID]: ecpg_build_native_sqlda
on line 141
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 141: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 1 col 0 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 1 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: 2 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 1 col 1 IS NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 1 col 1 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 1 col 2 IS NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 1 col 2 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 1 col 3 IS NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 1 col 3 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 1 col 4 IS NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 1 col 4 IS NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 141: putting result (1 tuple 5 fields) into sqlda descriptor
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_native_sqlda sqld = 5
[NO_PID]: ecpg_build_native_sqlda
on line 141
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 141: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: 1 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: a offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: 1 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 141
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 141: RESULT: a offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -228,25 +228,25 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 185: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_native_sqlda sqld = 5
[NO_PID]: ecpg_build_native_sqlda
on line 185
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 185: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 185
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 185: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 185
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 185: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 185
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 185
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 185: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 185
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 185: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -266,25 +266,25 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 222: correctly got 1 tuples with 5 fields
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_build_native_sqlda sqld = 5
[NO_PID]: ecpg_build_native_sqlda
on line 222
sqld = 5
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_execute on line 222: new sqlda was built
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 0 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 222
row 0 col 0 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 222: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 1 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 222
row 0 col 1 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 222: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 2 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 222
row 0 col 2 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 3 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 222
row 0 col 3 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 222: RESULT: 4 offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_set_native_sqlda row 0 col 4 IS NOT NULL
[NO_PID]: ecpg_set_native_sqlda
on line 222
row 0 col 4 IS NOT NULL
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_get_data on line 222: RESULT: d offset: -1; array: yes
[NO_PID]: sqlca: code: 0, state: 00000
...
...
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