bareos: bareos-17.2 a58d8f87

Author Committer Branch Timestamp Parent
joergs joergs bareos-17.2 2018-01-11 12:43 bareos-17.2 43b2bfea Pending
Changeset bvfs_lsdirs: merge special dirs to dirs, so that offset and limit work as expected

Before .bvfs_lsdir always includes the directories "." and ".." (if
available), even if called with offset.
The new approach makes a SQL UNION of both queries (bvfs_ls_special_dirs
and bvfs_ls_sub_dirs), instead of handling both in separate queries.
Disadvantage:
The new SQL query is even more complex that the existing onces.
mod - src/cats/bdb_query_enum_class.h Diff File
mod - src/cats/bdb_query_names.inc Diff File
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
add - src/cats/dml/0064_bvfs_lsdirs_4 Diff File
add - src/cats/dml/0074_bvfs_ls_special_dirs_3 Diff File
mod - src/cats/mysql_queries.inc Diff File
mod - src/cats/postgresql_queries.inc Diff File
mod - src/cats/sqlite_queries.inc Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/tests/Makefile.in Diff File
rm - src/tests/bvfs_test.c Diff File