|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sqlite3
- added global stmt_siz variable for the allocated size of the stmt buffer
(obsoletes local size variable in _sqlite3_createstmt).
- added guard at the beginning of _sqlite3_output so the output is disabled
if the plugin initialization (db open, ...) fails.
- changed many formats to use %zu for size_t variables, esp. in DEBUGP calls
- changed to use snprintf instead of sprintf in pgsql_output to take care
about the allocated buffer length - using the STMT_ADD macro when the
string has to be appended.
- fixed sqlite3_prepare() call error handling.
- fixed to use ULOGD_MAX_KEYLEN-1 in strncpy.
- added severals sqlite3_close(dbh); dbh = NULL; to reset it propelly.
* pcap
- fixed to use pcapsync_ce.u.value instead of pcapf_ce.u.value for flush
- changed to show pcap file name (so the user can see if the default or the
file specified in the config is used).
* mysql-table
- fixed id field definition in mysql.table.ipaddr-as-string; default value
can't be set when auto_increment is used.
* example configuration file:
- fixed to use an usefull default value for sqlite3 db file...
* user option
- added "user" config option, disabled by default (runs as root).
can be overwritten by the already existing "-u" cmd line option.
without this option, the customers have to edit init script or
source some sysconfig file to pass it via -u ... both not needed.
|