diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-10-31 17:18:49 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-10-31 17:18:49 +0000 |
commit | 46abb39ca242746bfbceb1ee315cb68fa3e84243 (patch) | |
tree | 64ab01da460a3c5f22662674b841ba4e5e913617 /configs | |
parent | 44b484195e3f9630d0c481dd519e24dbbd714e16 (diff) |
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
Diffstat (limited to 'configs')
-rw-r--r-- | configs/func_odbc.conf.sample | 2 |
1 files changed, 2 insertions, 0 deletions
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 |