connector using al memory
For any reason the Query and the Result variables end up using all the system memory. How do I clear the Query and the Result variable, so I can continue using it
sql::Statement *Query;
sql::ResulSet *Result;
while(1){
Query = con->createStatement();
Result = Query->executeQuery("SELECT `Some` FROM `Table` LIMIT 1");
Result->next();
Result->close();
Query->close();
cout << "console message..." << endl;
}
Subject
Views
Written By
Posted
connector using al memory
2217
September 29, 2013 05:33AM
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.