Esempio n. 1
0
void DB_Bianse::close() 
{ 
	releaseVector(); 
	 
	CC_SAFE_RELEASE(resultArray); 
	 
	CC_SAFE_RELEASE(resultDictionary); 
	 
	sqlite3_close(pDB); 
} 
Esempio n. 2
0
void $CMD_NAME$::close()
{
    releaseVector();

    CC_SAFE_RELEASE(resultArray);

    CC_SAFE_RELEASE(resultDictionary);

    sqlite3_close(pDB);
}
Esempio n. 3
0
void DB_Bianse::ExcuteQuery(string sqlstr) 
{ 
	releaseVector();//Utils::Unicode2Utf8(Utils::Acsi2WideByte(sqlstr)).c_str() 
	sqlite3_exec( pDB, sqlstr.c_str() , loadRecord, NULL, &errMsg ); 
} 
Esempio n. 4
0
void DB_Bianse::ExcuteQueryNoneResult(string sqlstr) 
{ 
	releaseVector(); 
	sqlite3_exec( pDB, sqlstr.c_str() , NULL, NULL, &errMsg ); 
}