From a438a0e65fa183860ed04eb1487ecd991db57225 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Fri, 28 Mar 2014 17:09:14 +0000 Subject: 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 --- UPGRADE.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'UPGRADE.txt') diff --git a/UPGRADE.txt b/UPGRADE.txt index a24931d5d..b139fec5c 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -136,6 +136,10 @@ Configuration Files: - The manager.conf 'eventfilter' now takes an "extended" regular expression instead of a "basic" one. +ODBC: +- The compatibility setting, allow_empty_string_in_nontext, has been removed. + Empty column values will be stored as empty strings during realtime updates. + Realtime Configuration: - WARNING: The database migration script that adds the 'extensions' table for realtime had to be modified due to an error when installing for MySQL. The -- cgit v1.2.3