You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Dmitry Lychagin (JIRA)" <ji...@apache.org> on 2018/08/16 17:40:00 UTC

[jira] [Resolved] (ASTERIXDB-2442) substring() should return NULL if starting offset is out of bounds or length is negative

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lychagin resolved ASTERIXDB-2442.
----------------------------------------
    Resolution: Fixed

> substring() should return NULL if starting offset is out of bounds or length is negative
> ----------------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2442
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2442
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Minor
>
> substring() should return NULL in the following cases:
> 1) if starting offset is out of bounds for given string, including the case when the starting offset is negative and therefore counted backwards from the length of the string.
> 2) if length is negative



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)