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
9fdce97b
Commit
9fdce97b
authored
Dec 06, 2009
by
beberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] DDC-169 - Fix bug in Comparator
parent
34119d39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
Comparator.php
lib/Doctrine/DBAL/Schema/Comparator.php
+1
-1
ComparatorTest.php
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
+6
-1
No files found.
lib/Doctrine/DBAL/Schema/Comparator.php
View file @
9fdce97b
...
...
@@ -203,7 +203,7 @@ class Comparator
}
foreach
(
$table1Indexes
AS
$index1Name
=>
$index1Definition
)
{
$tableDifferences
->
removedIndexes
[
$index1Name
]
=
true
;
$tableDifferences
->
removedIndexes
[
$index1Name
]
=
$index1Definition
;
$changes
++
;
}
...
...
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
View file @
9fdce97b
...
...
@@ -233,7 +233,12 @@ class ComparatorTest extends \PHPUnit_Framework_TestCase
array
(
'bugdb'
=>
new
TableDiff
(
'bugdb'
,
array
(),
array
(),
array
(),
array
(),
array
(),
array
(
'primary'
=>
true
'primary'
=>
new
Index
(
'primary'
,
array
(
'integerfield1'
),
true
)
)
),
)
...
...
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