Subject | Default transaction |
---|---|
Author | ettotev |
Post date | 2011-12-16T10:45:35Z |
I am not sure if this is a bug or my not understanding the documentation...
Using Firebird 2.5.1 on a linux server, with php 5.3.8 and php-interbase on either linux or Windows 7.
ibase_trans (IBASE_READ | IBASE_COMMITTED | IBASE_REC_VERSION);
seems to be a no-op: no new transaction is started, and the first ibase_query($sql) (without a link/transaction identifier) starts a transaction with the default transaction settings.
Now if I assign the return value, like
$rotran = ibase_trans (IBASE_READ | IBASE_COMMITTED | IBASE_REC_VERSION);
then a new transaction is started with the correct transaction settings, but again if I don't specify the transaction identifier in ibase_query() it executes in a new default transaction with IBASE_DEFAULT.
Basically this would mean that the transaction settings of the default transaction cannot be changed. Or am I missing something?
Thanks in advance,
Emil
Using Firebird 2.5.1 on a linux server, with php 5.3.8 and php-interbase on either linux or Windows 7.
ibase_trans (IBASE_READ | IBASE_COMMITTED | IBASE_REC_VERSION);
seems to be a no-op: no new transaction is started, and the first ibase_query($sql) (without a link/transaction identifier) starts a transaction with the default transaction settings.
Now if I assign the return value, like
$rotran = ibase_trans (IBASE_READ | IBASE_COMMITTED | IBASE_REC_VERSION);
then a new transaction is started with the correct transaction settings, but again if I don't specify the transaction identifier in ibase_query() it executes in a new default transaction with IBASE_DEFAULT.
Basically this would mean that the transaction settings of the default transaction cannot be changed. Or am I missing something?
Thanks in advance,
Emil