From: Zoran V. <zv...@ar...> - 2005-10-21 05:52:39
|
Am 21.10.2005 um 07:40 schrieb Stephen Deasey: > > Here's the error shown at startup: > > Notice: modload: loading > /home/sd/naviserver-nsdbtest/tests/../nsdbtest/nsdbtest.so > Error: modload: invalid server name: 'nsdbtest' > Error: dbdrv: failed to load driver 'nsdbtest' > Error: dbinit: no such default pool 'a' > Right. The "server" argument is kind-of misued in call to Ns_ModuleLoad from nsdb.c. The easiest fix to that is to use Ns_TclAllocateInterp(NULL) in Ns_ModuleLoad. We do not need the interp there really for any other purpose but getting the error message if the module does not load. I believe this is most non-intrusive and simple fix for that. Zoran |