Difference between revisions of "ISDBDatabase::ForceCommit"

From MediaMonkey Wiki
Jump to: navigation, search
m (introduced)
 
Line 5: Line 5:
 
Finishes already started SQL transaction. It had to be previously started by [[ISDBDatabase::BeginTransaction|BeginTransaction]]. Unlike ordinary [[ISDBDatabase::Commit|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|Commit]] is a preferred method, use ForceCommit only in case you need to unlock database for some reason.
 
Finishes already started SQL transaction. It had to be previously started by [[ISDBDatabase::BeginTransaction|BeginTransaction]]. Unlike ordinary [[ISDBDatabase::Commit|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|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.
+
{{Introduced|3.0.3.1179}}
  
 
[[Category:Scripting|{{PAGENAME}}]]
 
[[Category:Scripting|{{PAGENAME}}]]

Latest revision as of 22:41, 20 April 2013

CoClass SDBDatabase, Interface ISDBDatabase

Sub ForceCommit


Method description

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

Introduced in MediaMonkey version 3.0.3.1179.