bareos: bareos-12.4 807efe62

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