]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
catalog: Change ObjectStatus when creating class object to '0'
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Thu, 22 Apr 2021 09:56:19 +0000 (11:56 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:01 +0000 (09:03 +0100)
This way for default objects the ObjectStatus field is being used
for filtering records.

bacula/src/cats/cats.h

index fa26e47d54285a04f3533d52aaa8566cf9120810..8ba7305af1a5b1a659ef184d22ea1baf12d743d1 100644 (file)
@@ -265,7 +265,7 @@ public:
       *ObjectCategory = *ObjectType = *ObjectName = *ObjectSource = *ObjectUUID = *ClientName = 0;
       limit = 0;
       order = 0;
-      ObjectStatus = 'U';
+      ObjectStatus = 0;
       ObjectCount = 0;
    };