seg fault with nested open cursor, multi column
An external Rexx function package to connect to SQL databases
Brought to you by:
rexx
Linux (old, Mandrake 8.2) MySQL 3.23. opening a third
cursor on a table, selecting more than 1 column (or *)
results in a segmentation fault.
Work around (separate SqlCommand for each column) is
effective, but somewhat painful.
The segfault occurs at the return to the 2nd level
SqlFetch call.
I reconstructed the attached script from memory after
implementing the workaround, so (heh-heh), it might
work, or, more likely, have syntax errors.
I'm not sure what other diagnostic data I should provide. The mysql db is fairly large...
Rexx SQL script