Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 83492
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: sveta.smirnova [...] oracle.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.005
Fixed in: (no value)



Subject: "testport" key missing in DBD::mysql Makefile.PL
Originally reported by Harry Berggren at http://bugs.mysql.com/bug.php?id=31250 Description: Although "--testport" is a documented option, the key value "testport" is missing from the list of key values, at line 88, in Makefile.PL. The result is that if --testport is given during the configuration step (i.e. perl Makefile.PL --testport=3309), perl throws an "unitialized value" warning. How to repeat: This can be repeated by configuring DBD::mysql with: perl Makefile.PL --testport=<port> Suggested fix: Add the string "testport" to the list of key values at line 88, so that $opt->{'testport'} is defined. Verified as described: $perl Makefile.PL --testport=3309 I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/sfw/include/mysql -xstrconst -mt embedded (mysql_config) = libs (mysql_config) = -R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = Use of uninitialized value in printf at Makefile.PL line 171, <PIPE> line 93. testport ( ) = 3309 testsocket (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Using DBI 1.54 (for perl 5.008004 on sun4-solaris-64int) installed in /users/ssmirnova/lib/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/ Writing Makefile for DBD::mysql