diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-03-28 17:09:14 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-03-28 17:09:14 +0000 |
commit | a438a0e65fa183860ed04eb1487ecd991db57225 (patch) | |
tree | cd388bfefe4e60a759b30fab2a56ef0b98fa4cf2 /utils/stereorize.c | |
parent | 24452b852db66fd5bad2ef188e1dc7015cd91eb8 (diff) |
res_config_odbc: Fix for nullable integer columns and keyfield existence check in update_odbc.
This patch fixes setting nullable integer columns to NULL instead of an empty
string, which fails for PostgreSQL, for example. The current code is supposed
to do so, but the check is broken. The patch also allows the first column in
the list to be a nullable integer.
Also, the check for existence of a mandatory column checked for the first
column in the list instead of the key field lookup column. This patch fixes
that issue as well.
Finally, the compatibility option allow_empty_string_in_nontext, which was
added to previous revisions to allow for some database backends with certain
schemas to function, has been removed.
Review: https://reviewboard.asterisk.org/r/3335
ASTERISK-23459 #close
ASTERISK-23351 #close
(closes issue ASTERISK-23459)
Reported by: zvision
patches:
res_config_odbc.diff uploaded by zvision (License 5755)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/stereorize.c')
0 files changed, 0 insertions, 0 deletions