diff -r 29f3cf766061 -r ad2863178d17 wmdrm/wmdrmengine/wmdrmserver/server/inc/wmdrmdb.h --- a/wmdrm/wmdrmengine/wmdrmserver/server/inc/wmdrmdb.h Wed Jun 09 09:59:43 2010 +0300 +++ b/wmdrm/wmdrmengine/wmdrmserver/server/inc/wmdrmdb.h Mon Jun 21 15:58:55 2010 +0300 @@ -109,6 +109,12 @@ TInt DataBaseSize( TBool aConfiguredDrive ); + // Checks how many SQL statements are prepared (buffered) currently and if either the maximum + // amount of buffered statements is exceeded or an enforced commit is needed, COMMITs the + // statements. The method also starts a new BEGIN statement after the commit operation to + // start a new buffering round of SQL statements. This method also controls a timer for + // triggering enforced commit after a predefined idle period without any prepared SQL statements. + void CheckDatabaseCommitL( TBool aEnforcedCommit ); protected: // from base class CActive void RunL(); @@ -131,12 +137,7 @@ void ConvertOldLicenseStoreL(); - // Checks how many SQL statements are prepared (buffered) currently and if either the maximum - // amount of buffered statements is exceeded or an enforced commit is needed, COMMITs the - // statements. The method also starts a new BEGIN statement after the commit operation to - // start a new buffering round of SQL statements. This method also controls a timer for - // triggering enforced commit after a predefined idle period without any prepared SQL statements. - void CheckDatabaseCommitL( TBool aEnforcedCommit ); + void Activate(); private: // data