[asterisk-commits] tilghman: branch tilghman/adaptive_realtime r116796 - /team/tilghman/adaptive...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 16 14:39:16 CDT 2008


Author: tilghman
Date: Fri May 16 14:39:13 2008
New Revision: 116796

URL: http://svn.digium.com/view/asterisk?view=rev&rev=116796
Log:
Also warn for columns that do not exist

Modified:
    team/tilghman/adaptive_realtime/res/res_config_odbc.c

Modified: team/tilghman/adaptive_realtime/res/res_config_odbc.c
URL: http://svn.digium.com/view/asterisk/team/tilghman/adaptive_realtime/res/res_config_odbc.c?view=diff&rev=116796&r1=116795&r2=116796
==============================================================================
--- team/tilghman/adaptive_realtime/res/res_config_odbc.c (original)
+++ team/tilghman/adaptive_realtime/res/res_config_odbc.c Fri May 16 14:39:13 2008
@@ -952,6 +952,8 @@
 						warn_type(col, type);
 					}
 					break;
+				default:
+					ast_log(LOG_WARNING, "Column type (%d) unrecognized for field '%s' in %s@%s\n", col->type, elm, table, database);
 				}
 				break;
 			}




More information about the asterisk-commits mailing list