Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Marco van Wieringen
committed
Apr 16, 2015
1 parent
2cce82d
commit 55fbc8c
Showing
1 changed file
with
35 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters