bareos: master f0da0e8c

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen master 2016-05-20 21:08 master bcdd2b16 Pending
Changeset catalog: Fix argument mixup.

Seems the last fix to the catalog functions was not fully right as we
didn't fix all functions to have the same argument order which leads to
the wrong value being passed on to some functions. This patch fixes that
as from now on need_private is the last argument for each function and
from now on the number of default arguments for db_init_database() is
just like the pooling functions only the need_private flag. We thank
Coverity for finding this nasty bug.
mod - src/cats/bdb_dbi.h Diff File
mod - src/cats/bdb_ingres.h Diff File
mod - src/cats/bdb_mysql.h Diff File
mod - src/cats/bdb_postgresql.h Diff File
mod - src/cats/bdb_sqlite.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/dbi.c Diff File
mod - src/cats/ingres.c Diff File
mod - src/cats/mysql.c Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/sql_glue.h Diff File
mod - src/cats/sqlite.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/stored/bscan.c Diff File