Review Board 1.7.16


[res_config_pgsql] Correct handling of nullable int fields in update_realtime

Review Request #3346 - Created March 13, 2014 and updated

zvision
1.8
ASTERISK-23351
Reviewers
asterisk-dev
Asterisk
This patch fixes handling of nullable int columns in update_realtime function. It checks if a value is empty and sets the column to NULL instead of '', which raises an error.
Additionally, it checks for existence of the keyfield column instead of the first parameter column.
Only tested for successful compilation. Someone needs to confirm that the patch works fine.
Review request changed
Updated (March 24, 2014, 4:11 a.m.)
New patch version for branch 12

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.