[asterisk-bugs] [JIRA] (ASTERISK-27888) SQL fetch error on query which return 0 columns

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu May 31 10:25:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243623#comment-243623 ] 

Asterisk Team commented on ASTERISK-27888:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> SQL fetch error on query which return 0 columns
> -----------------------------------------------
>
>                 Key: ASTERISK-27888
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27888
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_odbc
>    Affects Versions: 13.21.0
>            Reporter: Alexei Gradinari
>
> The functions acf_odbc_read/cli_odbc_read ignore a number of columns in the  SQLNumResultCols.
> If the number of columns is zero it means no data.
> In this case, a SQLFetch function has to be not called,
> because it will cause an error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list