2015-02-25 19:49 GMT+01:00 Axel Rau <[email protected]>: > 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? >
Yes, there is no code for that case. It's "a bit" of work to do that and given the fact that array mode was almost never used, I didn't bother to re-implement it. Contributions are nevertheless welcome. Sorry I have no better answer, Rainer > 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. _______________________________________________ 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.

