summaryrefslogtreecommitdiffstats
path: root/plugins/ommysql
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-14 17:47:47 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-14 17:47:47 +0000
commit15904a35388aafcda76ed44caab9222619901dd4 (patch)
tree127345ed0395a993eee6b8993a31ef2f81175b5a /plugins/ommysql
parent4e7434ef98cc77f9cb49f628c1250195312590dd (diff)
downloadrsyslog-15904a35388aafcda76ed44caab9222619901dd4.tar.gz
rsyslog-15904a35388aafcda76ed44caab9222619901dd4.tar.xz
rsyslog-15904a35388aafcda76ed44caab9222619901dd4.zip
created an initial version of omlibdbi (does not yet work)
Diffstat (limited to 'plugins/ommysql')
-rw-r--r--plugins/ommysql/ommysql.c4
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