summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/test2.pgc
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/test/test2.pgc')
-rw-r--r--src/interfaces/ecpg/test/test2.pgc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/test/test2.pgc b/src/interfaces/ecpg/test/test2.pgc
index c624de2625..b11ce40892 100644
--- a/src/interfaces/ecpg/test/test2.pgc
+++ b/src/interfaces/ecpg/test/test2.pgc
@@ -23,14 +23,15 @@ exec sql begin declare section;
struct personal_indicator { int ind_name;
birthinfo ind_birth;
} ind_personal, *i;
- float ind_married;
- ind children;
ind ind_children;
- char *married = NULL;
c testname="Petra";
char *query="select name, born, age, married, children from meskes where name = :var1";
exec sql end declare section;
+ exec sql char *married = NULL;
+ exec sql float ind_married;
+ exec sql ind children;
+
exec sql var ind_married is long;
exec sql declare cur cursor for