Skip Menu |
 

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

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

People
Owner: CAPTTOFU [...] cpan.org
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: mysql_use_result-via-dsn does not behave as advertised in POD
Download (untitled) / with headers
text/plain 860b
Modify to taste and execute this oneliner. I expected one of the dumps to produce ... => 1. Instead two undefs perl -MDBI -MData::Dumper -e ' for $ur (0,1) { my @dsn = map { $ENV{"DBICTEST_MYSQL_$_"} } qw(DSN USER PASS); $dsn[0] .= ";mysql_use_result=1" if $ur; warn Dumper { dsn => \@dsn, use_result => DBI->connect(@dsn)->{mysql_use_result} } } ' result: ------------ $VAR1 = { 'use_result' => undef, 'dsn' => [ 'DBI:mysql:database=dbic_test;host=127.0.0.1', 'dbic_test', '123' ] }; $VAR1 = { 'use_result' => undef, 'dsn' => [ 'DBI:mysql:database=dbic_test;host=127.0.0.1;mysql_use_result=1', 'dbic_test', '123' ] };
Fixed - just pushed up a fix and a release later this week (week of Jan 13, 2014)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.