2 messages in com.mysql.lists.perlDBD-mysql-2.1010 passing NULL to mysq...
FromSent OnAttachments
Joseph Martin08 Jan 2002 10:03 
Jochen Wiedmann08 Jan 2002 12:37 
Subject:DBD-mysql-2.1010 passing NULL to mysql-client lib func
From:Joseph Martin (jose@yahoo.com)
Date:01/08/2002 10:03:34 AM
List:com.mysql.lists.perl

Hi ho!

I am working on getting DBD::mysql set up on my Slackware box. I have come across a situation running the tests for DBD-mysql. Besides the $dbh->listdbs() appearing to be obsolete (not supported), it seems that the DBD mysql.xs module is passing NULL to mysql_errno() and to mysql_error() on line 92 (I have 2.1010). That pointer is used without checking as a pointer in the libmysql.c module of the libmysqlclient.so library.

I don't know what the intention is for sure, but a seq-fault isn't it, I know. I'm going to do something about mysql.xs . Let me know what you're plans are.

What about listdbs(). It looks like a handy function. What is lacking for it to work? DBI support? I couldn't find the _ListDBs that is mentioned in places.