phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2086) CONSTRAINT_VIOLATION error code should use sqlstate 23, not 22.
Date Tue, 05 Jan 2016 22:15:40 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083936#comment-15083936
] 

Hudson commented on PHOENIX-2086:
---------------------------------

SUCCESS: Integrated in Phoenix-master #1050 (See [https://builds.apache.org/job/Phoenix-master/1050/])
PHOENIX-2086 CONSTRAINT_VIOLATION error code should use sqlstate 23, (samarth: rev d3288d01eb1ad4a9b9f6598bb8242295abbdd31b)
* phoenix-core/src/main/java/org/apache/phoenix/exception/SQLExceptionCode.java


> CONSTRAINT_VIOLATION error code should use sqlstate 23, not 22.
> ---------------------------------------------------------------
>
>                 Key: PHOENIX-2086
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2086
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lukas Lalinsky
>            Assignee: Samarth Jain
>             Fix For: 4.7.0
>
>         Attachments: PHOENIX-2086.patch
>
>
> The CONSTRAINT_VIOLATION error code currently uses sqlstate 22018, but the 22 class should
be used for data errors. Constraint violations should use the 23 class. 
> There is also typo in the error message - "violatioin".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message