app_mysql.conf 1.0 KB

123456789101112131415161718192021222324
  1. ; Configuration file for the MYSQL app addon
  2. [general]
  3. ;
  4. ; Nullvalue governs how NULL values are returned from the database. In
  5. ; previous versions, the special NULL value was returned as the "NULL"
  6. ; string. We now provide an option for the behavior, configured globally.
  7. ; nullstring - the string "NULL"
  8. ; emptystring - the string ""
  9. ; null - unset the variable
  10. ;
  11. ; WARNING: setting nullvalue=null may have undesireable consequences, in
  12. ; particular if you use subroutines in AEL or the LOCAL() variable construct.
  13. ; You have been warned. Don't complain if you use that setting in combination
  14. ; with Gosub or AEL and get buggy behavior.
  15. ;
  16. nullvalue = nullstring
  17. ; If set, autoclear will destroy allocated statement and connection resources
  18. ; when the channel ends. For most usage of the MYSQL app, this is what you
  19. ; want, but it's conceivable that somebody is sharing MYSQL connections across
  20. ; multiple channels, in which case, this should be set to 'no'. Defaults to
  21. ; 'no', as this was the original behavior.
  22. autoclear=yes