Commit 965a0a40 authored by Michael Meskes's avatar Michael Meskes

Replace constants by C variables wherever possible.

parent 5bcc226d
......@@ -960,5 +960,10 @@ Wed Oct 4 14:36:51 CEST 2000
Wed Oct 11 16:49:36 CEST 2000
- Synced preproc.y with gram.y.
Thu Oct 12 20:13:00 CEST 2000
- Changed parser to accept a variable instead of a constant wherever
possible.
- Set ecpg version to 2.8.0.
- Set library version to 3.2.0.
This diff is collapsed.
......@@ -18,7 +18,7 @@ exec sql begin declare section;
birthinfo ind_birth;
} ind_personal;
int *ind_married = NULL;
int children;
int children, movevalue = 2;
int ind_children;
str *married = NULL;
char *wifesname="Petra";
......@@ -53,8 +53,11 @@ exec sql end declare section;
strcpy(msg, "open");
exec sql open cur;
exec sql whenever not found do break;
strcpy(msg, "move");
exec sql move :movevalue in cur;
exec sql whenever not found do break;
while (1) {
strcpy(msg, "fetch");
exec sql fetch from cur into :personal:ind_personal, :married:ind_married, :children:ind_children;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment