db_is_transaction_started()

Indicates whether a nested transaction call is started.

Syntax

db_is_transaction_started()
  RETURNS INTEGER

Usage

The function returns TRUE if a transaction was started with db_start_transaction(), and was not yet finished with a call to the db_finish_transaction() function.