diff options
| author | Thomas G. Lockhart <lockhart@fourpalms.org> | 1998-10-03 02:33:51 +0000 |
|---|---|---|
| committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 1998-10-03 02:33:51 +0000 |
| commit | 607cd930d5095f914aa6d3f23d29a41cedcf92af (patch) | |
| tree | 71861c03759fd973ee46bc3d20accf2dfaf17938 /src/interfaces/ecpg/test/test2.pgc | |
| parent | cbfc9ec6ca31c6106707153dc45840dde1113220 (diff) | |
Changes from Michael Meskes:
Check strdup calls for out of memory.
Set library version to 2.6.2
Synced preproc.y and keywords.c with gram.y and keywords.c yet again.
Set version to 2.4.3
Diffstat (limited to 'src/interfaces/ecpg/test/test2.pgc')
| -rw-r--r-- | src/interfaces/ecpg/test/test2.pgc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/test2.pgc b/src/interfaces/ecpg/test/test2.pgc index 89d938730b8..7d939426b97 100644 --- a/src/interfaces/ecpg/test/test2.pgc +++ b/src/interfaces/ecpg/test/test2.pgc @@ -52,7 +52,7 @@ exec sql declare cur cursor for while (1) { strcpy(msg, "fetch"); - exec sql fetch cur into :personal:ind_personal, :married:ind_married; + exec sql fetch in cur into :personal:ind_personal, :married:ind_married; printf ("%8.8s was born %d (age = %d) %s%s\n", personal.name.arr, personal.birth.born, personal.birth.age, ind_married ? "" : "and married ", ind_married ? "" : married); } |
