summaryrefslogtreecommitdiffstats
path: root/ommysql.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-31 12:05:35 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-31 12:05:35 +0000
commit6465202ed784cdb02339af7760bac09c8e3556c2 (patch)
tree58ae8d9867f9e6827fec5ec7164644a10a2a8266 /ommysql.c
parent8fd4a3e82d354fa3b8efbd8c99015ae56db69fb5 (diff)
downloadrsyslog-6465202ed784cdb02339af7760bac09c8e3556c2.tar.gz
rsyslog-6465202ed784cdb02339af7760bac09c8e3556c2.tar.xz
rsyslog-6465202ed784cdb02339af7760bac09c8e3556c2.zip
- fixed a typo that caused the default template for MySQL to be wrong.
thanks to mildew for catching this.
Diffstat (limited to 'ommysql.c')
-rw-r--r--ommysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ommysql.c b/ommysql.c
index 9171ccd9..529597f1 100644
--- a/ommysql.c
+++ b/ommysql.c
@@ -380,7 +380,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1)
--p; /* TODO: the whole parsing of the MySQL module needs to be re-thought - but this here
* is clean enough for the time being -- rgerhards, 2007-07-30
*/
- if((iRet = cflineParseTemplateName(&p, *ppOMSR, 0, OMSR_RQD_TPL_OPT_SQL, (uchar*) " StdSQLFmt"))
+ if((iRet = cflineParseTemplateName(&p, *ppOMSR, 0, OMSR_RQD_TPL_OPT_SQL, (uchar*) " StdDBFmt"))
!= RS_RET_OK)
return iRet;