[asterisk-bugs] [JIRA] (ASTERISK-25628) res_config_pgsql: Incorrect behavior when column does not exist

Dmitry (JIRA) noreply at issues.asterisk.org
Mon Dec 28 10:37:33 CST 2015


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

Dmitry commented on ASTERISK-25628:
-----------------------------------

res_config_sqlite3 if column not exist and equirements option is set to "warn" return -1.
IMHO need inform other code about troubles.
queue_log do alternative scenario if require return -1

> res_config_pgsql: Incorrect behavior when column does not exist
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-25628
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25628
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_config_pgsql
>    Affects Versions: 13.6.0
>            Reporter: Dmitry
>            Assignee: Dmitry
>            Severity: Minor
>         Attachments: patch.txt
>
>
> When column not exist in database require_pgsql() return 0
> and other code does not work properly (for example in main/logger.c logger_queue_rt_start()).



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



More information about the asterisk-bugs mailing list