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
6a5ff0ef
Commit
6a5ff0ef
authored
Jan 21, 2012
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DBAL-206] Fix user-supplied patch to work with testsuite
parent
8d263aab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
OraclePlatform.php
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
+5
-3
No files found.
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
View file @
6a5ff0ef
...
...
@@ -480,7 +480,7 @@ END;';
cols.position,
r_alc.table_name
\"
references_table
\"
,
r_cols.column_name
\"
foreign_column
\"
FROM usercons_columns cols
FROM user
_
cons_columns cols
LEFT JOIN user_constraints alc
ON alc.constraint_name = cols.constraint_name
LEFT JOIN user_constraints r_alc
...
...
@@ -502,14 +502,16 @@ LEFT JOIN user_cons_columns r_cols
public
function
getListTableColumnsSQL
(
$table
,
$database
=
null
)
{
$table
=
strtoupper
(
$table
);
$ownerCondition
=
''
;
$tabColumnsTableName
=
"user_tab_columns"
;
$ownerCondition
=
''
;
if
(
null
!==
$database
){
$database
=
strtoupper
(
$database
);
$tabColumnsTableName
=
"all_tab_columns"
;
$ownerCondition
=
"AND c.owner = '"
.
$database
.
"'"
;
}
return
"SELECT c.*, d.comments FROM
user_tab_columns
c "
.
return
"SELECT c.*, d.comments FROM
$tabColumnsTableName
c "
.
"INNER JOIN user_col_comments d ON d.TABLE_NAME = c.TABLE_NAME AND d.COLUMN_NAME = c.COLUMN_NAME "
.
"WHERE c.table_name = '"
.
$table
.
"' "
.
$ownerCondition
.
" ORDER BY c.column_name"
;
}
...
...
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