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
4fc6efd8
Commit
4fc6efd8
authored
Aug 29, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #440
parent
157c2d5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Connection.php
lib/Doctrine/Connection.php
+2
-1
Manager.php
lib/Doctrine/Manager.php
+3
-0
No files found.
lib/Doctrine/Connection.php
View file @
4fc6efd8
...
...
@@ -1016,7 +1016,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
$this
->
clear
();
$this
->
dbh
=
null
;
unset
(
$this
->
dbh
)
;
$this
->
isConnected
=
false
;
$this
->
getAttribute
(
Doctrine
::
ATTR_LISTENER
)
->
postClose
(
$event
);
...
...
@@ -1122,6 +1122,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
{
$this
->
transaction
->
rollback
(
$savepoint
);
}
/**
* returns a string representation of this object
* @return string
...
...
lib/Doctrine/Manager.php
View file @
4fc6efd8
...
...
@@ -291,6 +291,9 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
if
(
isset
(
$parts
[
'host'
])
&&
$parts
[
'host'
]
==
':memory'
)
{
$parts
[
'database'
]
=
':memory:'
;
$parts
[
'dsn'
]
=
'sqlite::memory:'
;
}
else
{
$parts
[
'database'
]
=
$parts
[
'path'
];
$parts
[
'dsn'
]
=
$parts
[
'scheme'
]
.
':'
.
$parts
[
'path'
];
}
break
;
...
...
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