[DBAL-195] Method AbstractSchemaManager->dropAndCreateSequence() contains erroneous code. Created: 06/Jan/12  Updated: 09/Jan/12  Resolved: 09/Jan/12

Status: Resolved
Project: Doctrine DBAL
Component/s: Schema Managers
Affects Version/s: 2.1.5
Fix Version/s: 2.1.6, 2.2
Security Level: All

Type: Bug Priority: Major
Reporter: Marc Campeau Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File AbstractSchemaManager_dropAndCreateSequence.patch    


I needed to use the function and looking at the code I found that it seemed partially implemented, cut and pasted from something else or just not ported from an earlier implementation. I'm now submitting a patch that fixes this issue. I didn't modify the AbstractSchemaManager->dropSequence($name) signature to become AbstractSchemaManager->dropSequence($sequence) but it might be a good idea to refactor it (guess that would be another issue though )

Comment by Benjamin Eberlei [ 09/Jan/12 ]

Oh the code worked before, but was refactored. This method was forgotten.

Comment by Benjamin Eberlei [ 09/Jan/12 ]


Generated at Fri Oct 09 02:54:35 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.