DDC-1693: SqlWalker doesn't handle LockMode correctly #2340

Closed
doctrinebot opened this Issue Mar 11, 2012 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user bb:

Both issues are in SqlWalker::walkSelectStatement().
First is a typo on line 443 in master where LockMode::PESSIMISTIC_OPTIMISTIC is used instead of LockMode::OPTIMISTIC. This results in a fatal undefined class constant error.
Additionally, LockMode::NONE is not handled and results in an exception. An empty case will solve that issue.

@doctrinebot

Comment created by @beberlei:

Fixed, merged back into 2.2 branch.

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.2.2 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment