Re: Runscript Unknown term code Re: Bacula 15.0.2 update

Eric Bollengier via Bacula-devel <[email protected]> Tue, 14 May 2024 15:58:22 +0200
Newsgroups gmane.comp.sysutils.backup.bacula.devel
Message-ID <[email protected]>
Hello,

On 5/14/24 15:49, Martin Simmons wrote:
>>>>>> On Mon, 13 May 2024 21:24:47 -0400, Phil Stracchino said:
>>
>> +            "DELETE FROM PathVisibility "
>> +            "WHERE NOT EXISTS "
>> +            "(SELECT 1 FROM Job WHERE JobId=PathVisibility.JobId) LIMIT 100000");
> 
> DELETE ... LIMIT is a MySQL thing, not standard.

Yes, it can be added to Bacula, but the patch must define the special code
in the mysql.c file and provide a default alternative for other engines
(using the actual code).

Best Regards,
Eric