From 65317d38610a8178ef70ca8ff6e5717b48cf3cfd Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 30 Jun 2009 17:10:45 +0000 Subject: 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 --- configs/app_mysql.conf.sample | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 configs/app_mysql.conf.sample (limited to 'configs/app_mysql.conf.sample') 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 -- cgit v1.2.3