MySQL Forums
Forum List  »  Connector/C++

Do you have to free ResultSetMetaData pointer?
Posted by: Jeff Lynn
Date: August 31, 2009 05:06PM

Hi,

Since I cannot find any MySql Connector/C++ class reference, I find it puzzling that the "allocated" ResultSetMetaData's destructor is inaccessible from client application. So am I safe to assume I don't have to deallocate the ResultSetMetaData pointer?

Example:
Statement * pStmt = m_pConn->createStatement();

ResultSet * pSet = pStmt->executeQuery("SELECT * FROM something");

ResultSetMetaData * pMetaDataSet = pSet->getMetaData();

Thanks for any help!

Jeff

Options: ReplyQuote


Subject
Views
Written By
Posted
Do you have to free ResultSetMetaData pointer?
2699
August 31, 2009 05:06PM


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.