Re: Multiple Statement Queries and issues.
It crashes on vsprintf, which is a system line. After gdb'ing it, I found that it was crashing while attempting to print out a field in a structure I read sql data into. I do struct.name = str_dup(res[2]);, and the char *name gets set to a pointer error. I'm pretty sure it's a sql problem because when I remove that second query, it writes into the structure just fine, and will sprintf without flaws. It's only when I have two queries go that this problem occurs.
Subject
Views
Written By
Posted
946
March 05, 2010 12:38AM
356
March 05, 2010 02:54PM
369
March 05, 2010 05:38PM
344
March 05, 2010 06:01PM
Re: Multiple Statement Queries and issues.
414
March 06, 2010 01:26AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.