Use a free-list for dbChannel and chFilter objects.

Have to make sure the dbChannel subsystem is initialized
properly when testing though.
This commit is contained in:
Andrew Johnson
2012-07-13 17:48:31 -05:00
parent f5a424eb33
commit 358f71d113
7 changed files with 36 additions and 20 deletions
+1
View File
@@ -116,6 +116,7 @@ MAIN(dbndTest)
testPlan(59);
dbChannelInit();
evtctx = db_init_events();
if (dbReadDatabase(&pdbbase, "dbndTest.dbd",
+1
View File
@@ -143,6 +143,7 @@ MAIN(syncTest)
testPlan(0);
dbChannelInit();
evtctx = db_init_events();
if (dbReadDatabase(&pdbbase, "syncTest.dbd",
+1
View File
@@ -57,6 +57,7 @@ MAIN(tsTest)
testPlan(12);
dbChannelInit();
evtctx = db_init_events();
if (dbReadDatabase(&pdbbase, "tsTest.dbd",