ISDBDatabase::ForceCommit

From MediaMonkey Wiki
Revision as of 21:44, 27 May 2008 by Jiri (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CoClass SDBDatabase, Interface ISDBDatabase

Sub ForceCommit


Method description

Finishes already started SQL transaction. It had to be previously started by BeginTransaction. Unlike ordinary ISDBDatabase::Commit this method always forces SQL COMMIT command to proceed and thus waits for other threads to finish what they are currently doing. ISDBDatabase::Commit is a preferred method, use ForceCommit only in case you need to unlock database for some reason.

Introduced in MediaMonkey 3.0.3.1179.