From 46abb39ca242746bfbceb1ee315cb68fa3e84243 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 31 Oct 2008 17:18:49 +0000 Subject: Failover for func_odbc, allowing an INSERT query to be performed when the UPDATE query initially affects 0 rows. (closes issue #13083) Reported by: Corydon76 Patches: 20081031__bug13083.diff.txt uploaded by Corydon76 (license 14) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153124 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/func_odbc.conf.sample | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configs') diff --git a/configs/func_odbc.conf.sample b/configs/func_odbc.conf.sample index a9742c27c..6b1276e02 100644 --- a/configs/func_odbc.conf.sample +++ b/configs/func_odbc.conf.sample @@ -31,6 +31,8 @@ ; readhandle. "dsn" is a synonym for "writehandle". ; readsql The statement to execute when reading from the function class. ; writesql The statement to execute when writing to the function class. +; insertsql The statement to execute when writing to the function class +; succeeds, but initially indicates that 0 rows were affected. ; prefix Normally, all function classes are prefixed with "ODBC" to keep ; them uniquely named. You may choose to change this prefix, which ; may be useful to segregate a collection of certain function -- cgit v1.2.3