Skip to content
Snippets Groups Projects
Commit 934eab7c authored by Michael Meskes's avatar Michael Meskes
Browse files

Set memory segment to '0', just to be sure.

parent 2d3c6911
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ main (void)
printf ("name=%s, accs=%d byte=%s\n", empl.name, empl.accs, empl.byte);
memset(empl.name, 0, 21L);
EXEC SQL DECLARE B BINARY CURSOR FOR select name, accs, byte from empl where idnum =:empl.idnum;
EXEC SQL OPEN B;
EXEC SQL FETCH B INTO :empl.name,:empl.accs,:empl.byte;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment