diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-13 05:58:14 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-13 05:58:14 +0000 |
commit | ce5fb494758d65f5f0d159be764cdc29d9a3af23 (patch) | |
tree | 5eb6ac14b82f4eac7e5c81d226c388984fcc04f1 /configs/res_odbc.conf.sample | |
parent | da354ac2dc430bdd744ea940bbebcf72c84b7744 (diff) |
Feature: allow the sanity SQL to be customized per connection class (Issue 6453)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47530 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/res_odbc.conf.sample')
-rw-r--r-- | configs/res_odbc.conf.sample | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/res_odbc.conf.sample b/configs/res_odbc.conf.sample index 2642676bf..ecb2cc66a 100644 --- a/configs/res_odbc.conf.sample +++ b/configs/res_odbc.conf.sample @@ -15,6 +15,10 @@ dsn => asterisk ;username => myuser ;password => mypass pre-connect => yes +; What should we execute to ensure that our connection is still alive? The +; statement should return a non-zero value in the first field of its first +; record. The default is "select 1". +;sanitysql => select 1 [mysql2] @@ -35,7 +39,7 @@ limit => 5 username => oscar password => thegrouch pre-connect => yes - +sanitysql => select count(*) from systables |