summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/test5.pgc
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2006-02-08 09:10:05 +0000
committerMichael Meskes <meskes@postgresql.org>2006-02-08 09:10:05 +0000
commite3740d2c59915b6fd78b2b8aaf63b290a14423c6 (patch)
tree54566da0bfa3e095efd92586428206a962f3542b /src/interfaces/ecpg/test/test5.pgc
parent115e5dd5972fa7788f6639b3d0a8b2ef65e326e4 (diff)
Added just another test case.
Fixed missing continuation line character. Do not translate $-quoting. Bit field notation belongs to a variable not a variable list. Output of line number only done by one function.
Diffstat (limited to 'src/interfaces/ecpg/test/test5.pgc')
-rw-r--r--src/interfaces/ecpg/test/test5.pgc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/test5.pgc b/src/interfaces/ecpg/test/test5.pgc
index 08fcef3e0e7..841b0e379fe 100644
--- a/src/interfaces/ecpg/test/test5.pgc
+++ b/src/interfaces/ecpg/test/test5.pgc
@@ -56,7 +56,10 @@ main (void)
exit (sqlca.sqlcode);
}
- EXEC SQL select name, accs, byte into:empl.name,:empl.accs,:empl.byte from empl where idnum =:empl.idnum;
+ EXEC SQL select name, accs, byte
+ into :empl.name, :empl.accs, :empl.byte
+ from empl
+ where idnum =:empl.idnum;
if (sqlca.sqlcode)
{
printf ("select error = %ld\n", sqlca.sqlcode);