ResultSet* Statement::Select() { ASSERT(m_isPrepared && m_type == ST_SELECT); Execute(); ResultSet *r = new ResultSet(m_stmtHandle, m_conn); try { r->FetchRows(); return (r); } catch(...) { if(r) delete r; throw; } }