Purpose
Called at the beginning of a statement for transaction purposes.
Synopsis
virtual int start_stmt
( |
thd, |
|
|
lock_type) ; |
|
THD * |
thd
; |
thr_lock_type |
lock_type
; |
Description
This is the start_stmt
method.
When table is locked a statement is started by calling
start_stmt instead of external_lock
Parameters
Return Values
This function has no return values.
Usage
Make any preparations needed for a transaction start (if there
is no current running transaction).
Default Implementation
{return 0;}