platform/shared/db/DBAdapter.h in rhodes-3.2.3 vs platform/shared/db/DBAdapter.h in rhodes-3.3.0.beta.1

- old
+ new

@@ -148,10 +148,14 @@ } void bind(sqlite3_stmt* st, int nPos, uint64 val) { sqlite3_bind_int64(st, nPos, val); } + void bind(sqlite3_stmt* st, int nPos, sqlite_int64 val) + { + sqlite3_bind_int64(st, nPos, val); + } void bind(sqlite3_stmt* st, int nPos, unsigned long val) { sqlite3_bind_int(st, nPos, static_cast<int>(val)); } @@ -343,10 +347,11 @@ void endTransaction(); void rollback(); void destroy_tables(const rho::Vector<rho::String>& arIncludeTables, const rho::Vector<rho::String>& arExcludeTables); void setBulkSyncDB(String fDataName, String strCryptKey); - void createDeleteTrigger(const String& strTable); + void createTrigger(const String& strSQL); + void dropTrigger(const String& strName); virtual DBResultPtr prepareStatement( const char* szSt ); DBResultPtr executeStatement(common::CAutoPtr<CDBResult>& res, const char* szSt); void updateAllAttribChanges();