--- sql/mysql/parser3mysql.C 2002/12/09 12:29:03 1.9 +++ sql/mysql/parser3mysql.C 2003/01/15 10:53:31 1.10 @@ -10,7 +10,7 @@ 2001.11.06 numrows on "HP-UX istok1 B.11.00 A 9000/869 448594332 two-user license" 3.23.42 & 4.0.0.alfa never worked, both subst & .sl version returned 0 */ -static const char *RCSId="$Id: parser3mysql.C,v 1.9 2002/12/09 12:29:03 paf Exp $"; +static const char *RCSId="$Id: parser3mysql.C,v 1.10 2003/01/15 10:53:31 paf Exp $"; #include "config_includes.h" @@ -288,6 +288,8 @@ private: // mysql client library funcs private: // mysql client library funcs linking const char *dlink(const char *dlopen_file_spec) { + if(lt_dlinit()) + return lt_dlerror(); lt_dlhandle handle=lt_dlopen(dlopen_file_spec); if (!handle) return "can not open the dynamic link module";