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
a3eae408
Commit
a3eae408
authored
Jul 31, 2013
by
Guilherme Blanco
Committed by
Benjamin Eberlei
Sep 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed PRAGMA calls that were missing quotes for non-standard table names.
parent
95614928
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SqlitePlatform.php
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
+4
-4
No files found.
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
View file @
a3eae408
...
...
@@ -369,7 +369,7 @@ class SqlitePlatform extends AbstractPlatform
{
$table
=
str_replace
(
'.'
,
'__'
,
$table
);
return
"PRAGMA table_info(
$table
)"
;
return
"PRAGMA table_info(
'
$table
'
)"
;
}
/**
...
...
@@ -379,7 +379,7 @@ class SqlitePlatform extends AbstractPlatform
{
$table
=
str_replace
(
'.'
,
'__'
,
$table
);
return
"PRAGMA index_list(
$table
)"
;
return
"PRAGMA index_list(
'
$table
'
)"
;
}
/**
...
...
@@ -452,7 +452,7 @@ class SqlitePlatform extends AbstractPlatform
{
$tableName
=
str_replace
(
'.'
,
'__'
,
$tableName
);
return
'DELETE FROM '
.
$tableName
;
return
'DELETE FROM '
.
$tableName
;
}
/**
...
...
@@ -685,7 +685,7 @@ class SqlitePlatform extends AbstractPlatform
{
$table
=
str_replace
(
'.'
,
'__'
,
$table
);
return
"PRAGMA foreign_key_list(
$table
)"
;
return
"PRAGMA foreign_key_list(
'
$table
'
)"
;
}
/**
...
...
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