summaryrefslogtreecommitdiffstats
path: root/plugins/ommysql/ommysql.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-05-031-1/+19
|\ | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * ommysql: added support for new mysql_library_[init/exit]Rainer Gerhards2012-05-031-1/+11
| |
| * bugfix: ommysql did not properly init/exit the mysql runtime libraryRainer Gerhards2012-05-031-1/+9
| | | | | | | | | | | | | | This could lead to segfaults. Triggering condition: multiple action instances using ommysql. Thanks to Tomas Heinrich for reporting this problem and providing an initial patch (which my solution is based on, I need to add more code to clean the mess up).
* | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-02-031-16/+14
|\|
| * Merge branch 'v4-stable' into v5-stableRainer Gerhards2012-02-031-16/+14
| |\
| | * ommysql: put under ASL 2.0Rainer Gerhards2012-02-031-16/+14
| | | | | | | | | | | | after getting OK via email from contributor Ariel P. (2012-02-02 22:06 CET)
* | | undoing v6.1 config scoping interface, part II (now finished)Rainer Gerhards2012-01-191-4/+4
| | | | | | | | | | | | | | | | | | This concludes the removal of the new scoping interface, at least as far as pre v6-plugins are affected. Full code cleanup will happen in the v6.3 branch.
* | | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * | added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v5-devel'Rainer Gerhards2011-02-011-0/+39
|\| | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/imudp/imudp.c plugins/ommysql/ommysql.c
| * | added $OMMySQLConfigFile/$OMMySQLConfigSection config directivesAriel P2011-01-311-0/+39
| |/ | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | fixed regression from last commitRainer Gerhards2010-07-271-0/+1
| | | | | | | | config variables were not properly initialized
* | milestone commit: output plugin interface changes (may NOT run)Rainer Gerhards2010-07-271-7/+17
| | | | | | | | | | | | | | The output interface has been changed, but we do not yet utilize the new interface. Also, it looks like a regression was introduced. But before hunting it down, I'd like to make a commit (what also easys the regresion hunt).
* | moving towards scoping inside rsyslog.confRainer Gerhards2010-07-211-2/+2
|/ | | | first step: adding object-type specifier to config statement table
* re-enabled pipe, tty and console in omfileRainer Gerhards2009-06-121-1/+1
| | | | | | | ... by moving code to stream.c. Thanks to the new design, new cases are not really needed, resulting in cleaner code. I also did a cleanup of header file usage as a side-activity.
* Improve mysql configure check (for unusual paths)Michael Biebl2009-02-241-2/+1
| | | | | | | | | | | Remove AC_CHECK_HEADERS([mysql/mysql.h],...) as this was causing pain for users where the mysql headers are not installed in the system include directory. It was superfluous anyways, as we check for mysql_config and set the include path to the correct directory. Update ommysql.c to use #include <mysql.h>, as mysql_config will set the include path to /path/to/include/mysql/ so <mysql/mysql.h> would not work. Remove errmsg.h include as it is not used.
* Merge branch 'v3-stable' into betaRainer Gerhards2008-08-131-3/+21
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c
| * enhanced ommysql to support custom port to connect to serverRainer Gerhards2008-08-121-3/+21
| | | | | | | | | | | | Port can be set via new $ActionOmmysqlServerPort config directive Note: this was a very minor change and thus deemed appropriate to be done in the stable release.
* | added (internal) error codes to error messagesRainer Gerhards2008-06-271-4/+4
| | | | | | | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* | some more cleanupRainer Gerhards2008-04-161-1/+1
|/ | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* removed a now-longer needed callback from the output module interface.Rainer Gerhards2008-03-221-5/+0
| | | | Results in reducing code complexity.
* fixed a few remaining logerror() calls - thanks to Michael Biebl forRainer Gerhards2008-03-061-4/+7
| | | | pointing that out
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-1/+1
| | | | - changed module interface version, as the interface change is quite large
* created an initial version of omlibdbi (does not yet work)Rainer Gerhards2008-02-141-3/+1
|
* - changed the ommysql output plugin so that the (lengthy) connectionRainer Gerhards2008-01-301-9/+14
| | | | | | | initialization now takes place in message processing. This works much better with the new queued action mode (fast startup) - fixed a newly introduced bug that caused output module's doAction entry point to be called on more than one thread under some circumstances
* removed single-threading support for sending TCP messages; causedRainer Gerhards2007-12-201-10/+0
| | | | | simplyfication of output module interface as well as core syslog processing.
* - begun to create input module interface and macrosRainer Gerhards2007-12-141-0/+2
| | | | - changed module interface to include function to query type
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* fixed an off-by-one bug that created problems when :ommysql: syntax wasRainer Gerhards2007-12-041-1/+1
| | | | used. Thanks to sur5r for pointing this out.
* some code cleanupRainer Gerhards2007-12-031-1/+0
|
* added new modExit() entry point to loadable module interfaceRainer Gerhards2007-11-211-0/+5
|
* added some debug message to ommysqlRainer Gerhards2007-11-191-0/+1
|
* changed ommsyql to allow for ":ommysql:" module specific action call methodRainer Gerhards2007-10-151-3/+13
| | | | instead of ">". This shall facilitate the creation of other plugins.
* - changed the build system to use a single source tarball again (butRainer Gerhards2007-10-111-1/+1
| | | | | | | | | | | | | | | | different makefiles for the main project and ommysql) - applied fixes from Michael Biebl: 1.) fix failing compilation of ommysql plugin (s/ommysql-config.h/config.h/) 2.) fix mysql configure check (although the default is no, we did check for the mysql devel files) 3.) Create a separate Makefile.am for the doc files. This cleans up the toplevel Makefile.am considerably and makes it much more readable and maintainable. 3b) Assign the html doc files to html_DATA. This means, they are installed to $(hmtdir), which by autoconf standards is $(prefix)/share/doc/$packagename/. 4.) Reformat the SOURCES line to make it better readable and maintainable.
* applied patch provided by varmojfekoj to support building ommysql in itsRainer Gerhards2007-09-261-0/+293
own way (now also resides in a plugin subdirectory)