Printing of the sqlstmt during execution [message #472707] |
Mon, 23 August 2010 06:47 |
razdany
Messages: 4 Registered: August 2010 Location: Israel
|
Junior Member |
|
|
Hi,
I am having a core dump while running exe that uses services in pro c to go to the DB
the sentence that causes the dump is:
sqlcxt((void **)0, &sqlctx, &sqlstm, &sqlfpn);
I need to print the &sqlctx, &sqlstm, &sqlfpn just before the call.
tried " printf("from select sqlstmt %s \n", sqlstmt);
but it only prints the " from select sqlstmt "
can any one pleae help.
Thanks,
Dany.
|
|
|
|
|
|
Re: Printing of the sqlstmt during execution [message #472738 is a reply to message #472719] |
Mon, 23 August 2010 09:28 |
razdany
Messages: 4 Registered: August 2010 Location: Israel
|
Junior Member |
|
|
most of the times it works - I suspect there is a problem with Oracle becuause when I run it in debug it all looks good and 99.9% of the time it is ok but sometimes it crashes and creaqtes a core - I need to print the statment to see if I send the variables correctly
|
|
|
|
|