diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ommysql/Makefile.am | 2 | ||||
-rw-r--r-- | plugins/ommysql/ommysql.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/ommysql/Makefile.am b/plugins/ommysql/Makefile.am index f388d1a9..ee4b12bf 100644 --- a/plugins/ommysql/Makefile.am +++ b/plugins/ommysql/Makefile.am @@ -1,7 +1,7 @@ pkglibdir = $(libdir)/rsyslog pkglib_LTLIBRARIES = ommysql.la -ommysql_la_SOURCES = ommysql.c ommysql.h +ommysql_la_SOURCES = ommysql.c ommysql.h ../../module-template.h ommysql_la_CPPFLAGS = $(mysql_cflags) -I$(srcdir)/../.. ommysql_la_LDFLAGS = -module -avoid-version ommysql_la_LIBADD = $(mysql_libs) diff --git a/plugins/ommysql/ommysql.c b/plugins/ommysql/ommysql.c index c132956a..33651a79 100644 --- a/plugins/ommysql/ommysql.c +++ b/plugins/ommysql/ommysql.c @@ -288,6 +288,11 @@ CODE_STD_FINALIZERparseSelectorAct ENDparseSelectorAct +BEGINmodExit +CODESTARTmodExit +ENDmodExit + + BEGINqueryEtryPt CODESTARTqueryEtryPt CODEqueryEtryPt_STD_OMOD_QUERIES |