author | Sebastian Harl <sh@tokkee.org> | |
Sun, 17 Aug 2008 12:10:29 +0000 (14:10 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 19 Aug 2008 08:12:00 +0000 (10:12 +0200) | ||
commit | 5c49be31adce24c02687a5605b571a540daff739 | |
tree | fbe2fa01b90b45bbb2c8c2bde7a82b51d9746e83 | tree | snapshot |
parent | ed365605bab34d082123289127e9d5002b4d7bc5 | commit | diff |
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>
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 | diff | blob | history |