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
5ae1a09c
Commit
5ae1a09c
authored
Sep 30, 2010
by
Lukas Kahwe Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanups
parent
6b328358
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 @
5ae1a09c
...
...
@@ -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 @
5ae1a09c
...
...
@@ -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