bareos: bareos-14.2 f38771b5

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-14.2 2015-04-16 23:50 bareos-14.2 b239869f 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