mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2205: Negative Values in Case Then expressions #2772
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Dec 18, 2012).
Jira issue originally created by user ibiryukov:
DQL Expression:
SELECT (CASE WHEN t.id = 1 THEN -1 ELSE t.id END) FROM Table t
Gives an error:
[Syntax Error] line 0, col 32: Error: Unexpected '-'
It doesn't seem to like the negative number.
@doctrinebot commented on GitHub (Dec 21, 2012):
Comment created by @FabioBatSilva:
Fixed :
8b5e4a9a52@doctrinebot commented on GitHub (Dec 21, 2012):
Issue was closed with resolution "Fixed"