1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 14:16:39 +02:00

DibiConnection: inTransaction() is back, implemented in drivers

This commit is contained in:
David Grudl
2010-01-11 16:56:54 +01:00
parent c37475838f
commit d61bd79982
13 changed files with 131 additions and 3 deletions

View File

@@ -156,7 +156,6 @@ class DibiFirebirdDriver extends DibiObject implements IDibiDriver
public function getInsertId($sequence)
{
return ibase_gen_id($sequence, 0, $this->connection);
//throw new NotSupportedException('Firebird/InterBase does not support autoincrementing.');
}
@@ -220,6 +219,17 @@ class DibiFirebirdDriver extends DibiObject implements IDibiDriver
/**
* Is in transaction?
* @return bool
*/
public function inTransaction()
{
return $this->inTransaction;
}
/**
* Returns the connection resource.
* @return resource