diff options
author | Russell Bryant <russell@russellbryant.com> | 2009-06-30 17:10:45 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2009-06-30 17:10:45 +0000 |
commit | 65317d38610a8178ef70ca8ff6e5717b48cf3cfd (patch) | |
tree | 91b4862866b3c5a08de1b8be356719cbeb2209b9 /configs/app_mysql.conf.sample | |
parent | 423fdaa324afbe9e1290335bafc572fa560cba8f (diff) |
Rename mysql.conf to app_mysql.conf, make module support both names
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@204419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/app_mysql.conf.sample')
-rw-r--r-- | configs/app_mysql.conf.sample | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configs/app_mysql.conf.sample b/configs/app_mysql.conf.sample new file mode 100644 index 000000000..fafd4f7a2 --- /dev/null +++ b/configs/app_mysql.conf.sample @@ -0,0 +1,24 @@ +; Configuration file for the MYSQL app addon + +[general] +; +; Nullvalue governs how NULL values are returned from the database. In +; previous versions, the special NULL value was returned as the "NULL" +; string. We now provide an option for the behavior, configured globally. +; nullstring - the string "NULL" +; emptystring - the string "" +; null - unset the variable +; +; WARNING: setting nullvalue=null may have undesireable consequences, in +; particular if you use subroutines in AEL or the LOCAL() variable construct. +; You have been warned. Don't complain if you use that setting in combination +; with Gosub or AEL and get buggy behavior. +; +nullvalue = nullstring + +; If set, autoclear will destroy allocated statement and connection resources +; when the channel ends. For most usage of the MYSQL app, this is what you +; want, but it's conceivable that somebody is sharing MYSQL connections across +; multiple channels, in which case, this should be set to 'no'. Defaults to +; 'no', as this was the original behavior. +autoclear=yes |