void DB_Bianse::close() { releaseVector(); CC_SAFE_RELEASE(resultArray); CC_SAFE_RELEASE(resultDictionary); sqlite3_close(pDB); }
void $CMD_NAME$::close() { releaseVector(); CC_SAFE_RELEASE(resultArray); CC_SAFE_RELEASE(resultDictionary); sqlite3_close(pDB); }
void DB_Bianse::ExcuteQuery(string sqlstr) { releaseVector();//Utils::Unicode2Utf8(Utils::Acsi2WideByte(sqlstr)).c_str() sqlite3_exec( pDB, sqlstr.c_str() , loadRecord, NULL, &errMsg ); }
void DB_Bianse::ExcuteQueryNoneResult(string sqlstr) { releaseVector(); sqlite3_exec( pDB, sqlstr.c_str() , NULL, NULL, &errMsg ); }