Multiple Statement Queries and issues.
Posted by: Katsu Stibich
Date: March 05, 2010 12:38AM

I am trying to have my C code load up data from two or three tables. However, it seems to corrupt the data as it's being read in. When I have it do two selects, a la

if(mysql_query(db,"SELECT * FROM table1; SELECT * FROM table2;"))

It will cause pointer errors. I am pretty sure it's the sql code and not my own because when I comment out the second SELECT statement, it loads just fine.

Options: ReplyQuote


Subject
Views
Written By
Posted
Multiple Statement Queries and issues.
940
March 05, 2010 12:38AM


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.