Re: Possible unrelated issue

Phil Stracchino <[email protected]>
Newsgroups gmane.comp.sysutils.backup.bacula.devel
Organization Babylon Communications
Message-ID <[email protected]>
On 2020-07-20 06:39, Martin Simmons wrote:
>>>>>> On Sat, 18 Jul 2020 10:20:25 -0400, Phil Stracchino said:
>> Just found this this morning.  Seems like an awful lot of failed DROPS.
>>  I haven't read far enough through the code yet to see why Bacula is so
>> many times trying to drop a table that doesn't exist, but it could be
>> avoided by simply changing DROP TABLE DelCandidates to DROP TABLE IF
>> EXISTS DelCandidates at sql_cmds.c:94.
> 
> I get that for every job with PostgreSQL too.


Try applying that change at sql_cmds.c:94 and it ought to go away.  I
don't know whether sqlite supports IF EXISTS, but isn't sqlite support
deprecated anyway?


-- 
  Phil Stracchino
  Babylon Communications
  [email protected]
  [email protected]
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.