ran out of memory when i run c program
Posted by: sam s
Date: April 19, 2011 05:41AM

hi, i am facing the error:

ERROR 2008 (HY000): MySQL client ran out of memory

if (!mysql_query(mh, "SELECT * FROM absences WHERE district_id IN (37,918,11)"))
{
res= mysql_store_result(mh);
if (res)
{
while (ro= mysql_fetch_row(res))
{
printf("%s: %s %s\n", ro[0], ro[1], ro[7]);
}
}
}
if (mysql_errno(mh)) puts(mysql_error(mh));

how do i overcome

Options: ReplyQuote


Subject
Views
Written By
Posted
ran out of memory when i run c program
3134
April 19, 2011 05:41AM


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.