mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Added firebird transaction commands. Thanks to 'daniele.teti'. Closes #5130
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7351 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
9cf8a77e88
commit
d9bb166721
1 changed files with 11 additions and 0 deletions
|
@ -109,6 +109,17 @@ class DboFirebird extends DboSource {
|
|||
'binary' => array('name' => 'blob'),
|
||||
'boolean' => array('name' => 'smallint')
|
||||
);
|
||||
/**
|
||||
* Firebird Transaction commands.
|
||||
*
|
||||
* @var array
|
||||
**/
|
||||
var $_commands = array(
|
||||
'begin' => 'SET TRANSACTION',
|
||||
'commit' => 'COMMIT',
|
||||
'rollback' => 'ROLLBACK'
|
||||
);
|
||||
|
||||
/**
|
||||
* Connects to the database using options in the given configuration array.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue