CDBParams& CODBC_RPCCmd::GetBindParams(void) { if (m_InParams.get() == NULL) { m_InParams.reset(new impl::CRowInfo_SP_SQL_Server( GetQuery(), GetConnImpl(), GetBindParamsImpl() ) ); } return *m_InParams; }
void CSendDataCmd::DumpResults(void) { // Experimental ... while(HasMoreResults()) { auto_ptr<CDB_Result> dbres(Result()); if( dbres.get() ) { CDB_ResultProcessor* res_proc = GetConnImpl().GetResultProcessor(); if(res_proc) { res_proc->ProcessResult(*dbres); } else { while(dbres->Fetch()) { continue; } } } } }