Returns: TRUE if the
values are valid, and the
settransaction() operation was successful, FALSE otherwise.
sesam_settransaction() overrides
the default values for the "isolation level" and "read-only"
transaction parameters (which are set in the SESAM
configuration file), in order to optimize subsequent queries
and guarantee database consistency. The overridden values are
used for the next transaction only.
sesam_settransaction() can only
be called before starting a transaction, not after the
transaction has been started already.
To simplify the use in php scripts, the following
constants have been predefined in php (see SESAM handbook for
detailed explanation of the semantics):
表格 1. Valid values for
"Isolation_Level" parameter
表格 2. Valid values for
"Read_Only" parameter
The values set by
sesam_settransaction() will override the default setting
specified in the SESAM configuration
file.