phoenix-dev mailing list archives

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

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

James Taylor commented on PHOENIX-2086:
---------------------------------------

[~samarthjain] - would you be able to put together a quick fix for this?

> 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
>             Fix For: 4.7.0
>
>
> 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