[asterisk-commits] mjordan: branch 12 r411426 - /branches/12/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 27 23:33:13 CDT 2014


Author: mjordan
Date: Thu Mar 27 23:33:07 2014
New Revision: 411426

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=411426
Log:
Blocked revisions 411408

........
res_config_odbc/res_odbc: Fix handling of non-text columns updates with empty values.

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.

This patch also adds a compatibility setting in res_odbc.conf,
allow_empty_string_in_nontext. It is enabled by default. It should be disabled
for database backends (such as PostgreSQL) that require NULL instead of an
empty string for Integer columns.

Review: https://reviewboard.asterisk.org/r/3375

(issue ASTERISK-23459)
Reported by: zvision
patches:
  res_config_odbc.diff uploaded by zvision (License 5755)
........

Merged revisions 411399 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/12/   (props changed)

Propchange: branches/12/
------------------------------------------------------------------------------
--- branch-11-blocked (original)
+++ branch-11-blocked Thu Mar 27 23:33:07 2014
@@ -1,1 +1,1 @@
-/branches/11:373240,375247,375702,385356,395020,396441,397034,397604,399305,401379,405362,405380,407457,409002,409208,409524
+/branches/11:373240,375247,375702,385356,395020,396441,397034,397604,399305,401379,405362,405380,407457,409002,409208,409524,411408




More information about the asterisk-commits mailing list