Hi all,

while porting an output module to 8.7, I’m getting:

action (12) is transactional but parameter 0 uses invalid paramter passing mode 

Removing OMSR_TPL_AS_ARRAY from
- - -
    CHKiRet(OMSRsetEntry(*ppOMSR, 0,
        (uchar*) strdup((char*) pData->tplName),
        OMSR_RQD_TPL_OPT_SQL | OMSR_TPL_AS_ARRAY));
- - -
stops the error message, but I need *both* transaction and array.
Are both really incompatible now?
This would be bad news, because prepared DB queries expect an array of values 
to be inserted and DBs need transactions.

I looked here
        http://www.rsyslog.com/doc/v8-stable/development/dev_oplugins.html
        http://www.rsyslog.com/changelog-for-8-5-0-v8-devel/
and could not find a hint.

Axel
---
PGP-Key:29E99DD6  ā˜€ +49 151 2300 9283  ā˜€ computing @ chaos claudius

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to