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 ...@@ -960,5 +960,10 @@ Wed Oct 4 14:36:51 CEST 2000
Wed Oct 11 16:49:36 CEST 2000 Wed Oct 11 16:49:36 CEST 2000
- Synced preproc.y with gram.y. - 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 ecpg version to 2.8.0.
- Set library version to 3.2.0. - Set library version to 3.2.0.
This diff is collapsed.
...@@ -18,7 +18,7 @@ exec sql begin declare section; ...@@ -18,7 +18,7 @@ exec sql begin declare section;
birthinfo ind_birth; birthinfo ind_birth;
} ind_personal; } ind_personal;
int *ind_married = NULL; int *ind_married = NULL;
int children; int children, movevalue = 2;
int ind_children; int ind_children;
str *married = NULL; str *married = NULL;
char *wifesname="Petra"; char *wifesname="Petra";
...@@ -53,6 +53,9 @@ exec sql end declare section; ...@@ -53,6 +53,9 @@ exec sql end declare section;
strcpy(msg, "open"); strcpy(msg, "open");
exec sql open cur; exec sql open cur;
strcpy(msg, "move");
exec sql move :movevalue in cur;
exec sql whenever not found do break; exec sql whenever not found do break;
while (1) { while (1) {
......
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