diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-14 17:47:47 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-14 17:47:47 +0000 |
commit | 15904a35388aafcda76ed44caab9222619901dd4 (patch) | |
tree | 127345ed0395a993eee6b8993a31ef2f81175b5a /plugins/ommysql | |
parent | 4e7434ef98cc77f9cb49f628c1250195312590dd (diff) | |
download | rsyslog-15904a35388aafcda76ed44caab9222619901dd4.tar.gz rsyslog-15904a35388aafcda76ed44caab9222619901dd4.tar.bz2 rsyslog-15904a35388aafcda76ed44caab9222619901dd4.zip |
created an initial version of omlibdbi (does not yet work)
Diffstat (limited to 'plugins/ommysql')
-rw-r--r-- | plugins/ommysql/ommysql.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/ommysql/ommysql.c b/plugins/ommysql/ommysql.c index 2c79e363..eb135edd 100644 --- a/plugins/ommysql/ommysql.c +++ b/plugins/ommysql/ommysql.c @@ -237,9 +237,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1) } /* ok, if we reach this point, we have something for us */ - if((iRet = createInstance(&pData)) != RS_RET_OK) - goto finalize_it; - + CHKiRet(createInstance(&pData)); /* rger 2004-10-28: added support for MySQL * >server,dbname,userid,password |