]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix db_get_accurate_jobids() with concurrent queries on the same jobs
authorEric Bollengier <eric@baculasystems.com>
Wed, 16 Jun 2021 15:49:09 +0000 (17:49 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:02 +0000 (09:03 +0100)
commit8a98629c7309d5147377d65e59cbc805f781cbd4
tree040ad1e12b2851f89af429af1c6bc1856cfa50b1
parent744f3992948d8fdd9ed58e668bd912e6a3840cd8
Fix db_get_accurate_jobids() with concurrent queries on the same jobs

The btemp3 table name is computed with the from_jobid argument in
the .bvfs_get_jobid command. If we have multiple requests at the
same time, as the tables are not TEMPORARY (due to a MySQL issue),
one query can drop the table of the other one and lead to problems.

Waiting to have the from_jobid feature fully implemented, the code
is removed.
bacula/src/cats/sql_get.c