diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-01-06 13:25:39 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-01-06 13:25:39 +0200 |
commit | 1a0f319a747220e48bde4fae8b80c0b00d22e69c (patch) | |
tree | 5912bfb14ac3d26b29eff947ded1eefa008e80be /NEWS | |
parent | fa78a9f21ff4fd85fb568232c9bee957b9c83497 (diff) | |
download | wydawca-1a0f319a747220e48bde4fae8b80c0b00d22e69c.tar.gz wydawca-1a0f319a747220e48bde4fae8b80c0b00d22e69c.tar.bz2 |
Improve SQL configuration.
* src/config.c (sql_kw): New statements: config-file and
config-group.
* src/sql.c (sql_init_dictionary): Handle config-file and
config-group. Set CLIENT_MULTI_RESULTS option.
* src/sql.h (struct sqlconn): New members: config_file and
config_group.
* NEWS, doc/wydawca.texi: Update.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -1,2 +1,2 @@ -Wydawca NEWS -- history of user-visible changes. 2010-01-02 +Wydawca NEWS -- history of user-visible changes. 2010-01-06 Copyright (C) 2007, 2008, 2009, 2010 Sergey Poznyakoff @@ -38,2 +38,20 @@ verify the submitted tarball. See the documentation, section +* New configuration statements + +sql default { + config-file "file"; + config-group "grp"; +} + +The `config-file' statement specifies the SQL configuration file +to use. The `config-group' statement indicates the group in that +file to read. The defaults for both statements depend on the +underlying database implementation. Currently only MySQL is supported, +so the defaults are "/etc/my.cnf" for "file", and "client" for +"group". + +These options can be used to store security-sensitive information +in another file, and thus to relax permission requirements for +wydawca.rc. + * New meta-variables |