Re: Multiple Statement Queries and issues.
Posted by: Katsu Katayama
Date: March 06, 2010 01:26AM

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.

Options: ReplyQuote


Subject
Views
Written By
Posted
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.