Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
de3d6956
Commit
de3d6956
authored
Sep 30, 2010
by
Lukas Kahwe Smith
Committed by
Juozas Kaziukenas
Oct 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanups
parent
612bb3b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
42 deletions
+1
-42
Connection.php
lib/Doctrine/DBAL/Connection.php
+1
-0
Driver.php
lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php
+0
-42
No files found.
lib/Doctrine/DBAL/Connection.php
View file @
de3d6956
...
...
@@ -107,6 +107,7 @@ class Connection implements DriverConnection
* @var integer
*/
private
$_nestTransactionsWithSavepoints
;
/**
* The parameters used during creation of the Connection instance.
*
...
...
lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php
View file @
de3d6956
...
...
@@ -92,46 +92,4 @@ class Driver implements \Doctrine\DBAL\Driver
$params
=
$conn
->
getParams
();
return
$params
[
'dbname'
];
}
/**
* createSavepoint
* creates a new savepoint
*
* @param string $savepoint name of a savepoint to set
* @return void
*/
protected
function
createSavePoint
(
$savepoint
)
{
$query
=
'SAVEPOINT '
.
$savepoint
;
return
$this
->
conn
->
execute
(
$query
);
}
/**
* releaseSavePoint
* releases given savepoint
*
* @param string $savepoint name of a savepoint to release
* @return void
*/
protected
function
releaseSavePoint
(
$savepoint
)
{
$query
=
'RELEASE SAVEPOINT '
.
$savepoint
;
return
$this
->
conn
->
execute
(
$query
);
}
/**
* rollbackSavePoint
* releases given savepoint
*
* @param string $savepoint name of a savepoint to rollback to
* @return void
*/
protected
function
rollbackSavePoint
(
$savepoint
)
{
$query
=
'ROLLBACK TO SAVEPOINT '
.
$savepoint
;
return
$this
->
conn
->
execute
(
$query
);
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment