]> git.ipfire.org Git - thirdparty/bacula.git/commit
bscan: initialize the volume type using the device type
authorAlain Spineux <alain@baculasystems.com>
Mon, 28 Nov 2022 09:20:23 +0000 (10:20 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
commit6ae88fef66ebd7d04e2ec4a8a0d447188b9221a2
tree4655c29f1b3b4d9c52d159fd7f857ef542740e34
parentfdd790899b06e019f147df626c787757867c3603
bscan: initialize the volume type using the device type

- bscan was initializing this value to ZERO and this was working as
  expected because we include ZERO in our SQL query, like in :
  AND VolType IN (0,%d)", mr->VolType)
- I have tested this with File (1) and Dedup (15) devices
bacula/src/stored/bscan.c