MySQL Forums
Forum List  »  Connector/C++

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


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?

Statement * pStmt = m_pConn->createStatement();

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

ResultSetMetaData * pMetaDataSet = pSet->getMetaData();

Thanks for any help!


Options: ReplyQuote

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

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.