bareos: bareos-13.2 55fbc8c1

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-13.2 2015-04-16 23:50 bareos-13.2 2cce82d5 Pending
Changeset Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File