Registers a delegate of type CommitHookDelegate as the database's commit hook. Any previously set hook is released.
A delegate that should return a non-zero value if the operation must be rolled back, or 0 if it can commit. Pass null to disable the callback.
http://www.sqlite.org/c3ref/commit_hook.html.
See Implementation
Registers a delegate of type CommitHookDelegate as the database's commit hook. Any previously set hook is released.