Code

postgresql plugin: Fixed determination of 'max_params_num'.
authorSebastian Harl <sh@tokkee.org>
Sun, 17 Aug 2008 12:10:29 +0000 (14:10 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 19 Aug 2008 08:12:00 +0000 (10:12 +0200)
commit5c49be31adce24c02687a5605b571a540daff739
treefbe2fa01b90b45bbb2c8c2bde7a82b51d9746e83
parented365605bab34d082123289127e9d5002b4d7bc5
postgresql plugin: Fixed determination of 'max_params_num'.

When adding the default queries to a database definition, 'max_params_num' has
not been updated at all, resulting in a failed assertion during query
execution. This is now fixed by splitting the common code for adding a query
definition to a database definition into a new function and using that
function where appropriate.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/postgresql.c