dbexec: fix dbexec parameters

* dbexec was only taking into account the first parameter