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
539853d5
Commit
539853d5
authored
May 24, 2008
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactorings
parent
4e99dcb5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
Connection.php
lib/Doctrine/Connection.php
+1
-1
Mock.php
lib/Doctrine/Connection/Mock.php
+5
-0
Formatter.php
lib/Doctrine/Formatter.php
+1
-1
No files found.
lib/Doctrine/Connection.php
View file @
539853d5
...
...
@@ -619,7 +619,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
*/
public
function
quote
(
$input
,
$type
=
null
)
{
return
$this
->
formatter
->
quote
(
$input
,
$type
);
return
$this
->
dbh
->
quote
(
$input
,
$type
);
}
/**
...
...
lib/Doctrine/Connection/Mock.php
View file @
539853d5
...
...
@@ -47,5 +47,10 @@ class Doctrine_Connection_Mock extends Doctrine_Connection_Common
public
function
__construct
()
{
}
public
function
quote
(
$input
)
{
return
$input
;
}
}
\ No newline at end of file
lib/Doctrine/Formatter.php
View file @
539853d5
...
...
@@ -168,7 +168,7 @@ class Doctrine_Formatter extends Doctrine_Connection_Module
case
'gzip'
:
case
'blob'
:
case
'clob'
:
return
$this
->
conn
->
getDbh
()
->
quote
(
$input
);
return
$this
->
conn
->
quote
(
$input
);
}
}
...
...
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