8 messages in com.mysql.lists.bugsApache/mod_perl/DBI/MySQL 4.0 alpha
FromSent OnAttachments
Bill Adams22 Oct 2001 10:31 
Sinisa Milivojevic23 Oct 2001 04:38 
Michael Widenius25 Oct 2001 06:18 
Bill Adams29 Oct 2001 12:40 
Jochen Wiedmann29 Oct 2001 13:04 
Michael Widenius30 Oct 2001 03:37 
Bill Adams30 Oct 2001 09:24 
Bill Adams01 Nov 2001 10:12 
Subject:Apache/mod_perl/DBI/MySQL 4.0 alpha
From:Michael Widenius (mon@mysql.com)
Date:10/25/2001 06:18:38 AM
List:com.mysql.lists.bugs

Hi!

"Bill" == Bill Adams <bad@tqs.com> writes:

Bill> Not sure this is the right place to report this... Bill> This bug only happens when using Apache Bill> + mod_perl + DBI + MySQL 4.0 alpha. When trying Bill> to fetch a row (it does not matter which Bill> fetchrow_* function is called) the call returns an Bill> error: "dbih_setup_fbav: invalid number of fields: Bill> 0, NUM_OF_FIELDS attribute probably not set right Bill> at ...". This problem does not happen when Bill> Msql-mysql-modules is linked against the 3.23.41 Bill> libmysqlclient.so.

Before checking this further, could you please verify that you have recompiled DBD-mysql with the new MySQL 4.0 header files ?

We added in 4.0 some new fields to the MYSQL struct that could cause problems like this if one uses the new libmysql libraries without recompiling.

Regards, Monty