Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 122929
Status: rejected
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: Richard.Mead [...] nimblestorage.com
Cc:
AdminCc:

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



Subject: parse_dsn fails to parse a DSN with a colon (':') in the driver_dsn portion
Date: Wed, 30 Aug 2017 17:01:07 +0000
To: "bug-DBI [...] rt.cpan.org" <bug-DBI [...] rt.cpan.org>
From: Richard Mead <Richard.Mead [...] nimblestorage.com>
$count = [DBI->parse_dsn("dbi:MyDriver(RaiseError=>1):db=test:42")]; $count = 0; [NS_HPE_e_sig]<http://www.nimblestorage.com/> Richard Mead | Technical Support Nimble Storage | 211 River Oaks Parkway | San Jose, CA 95134 Infosight<https://infosight.nimblestorage.com/> | Nimble Connect<https://connect.nimblestorage.com/welcome> | Knowledgebase Articles<https://infosight.nimblestorage.com/InfoSight/app#documentation> [NS-NCV-Social-600x150]<https://cdm-cdn.nimblestorage.com/2017/02/21171332/NCV_Infographic.pdf>
Download image005.jpg
image/jpeg 4.9k
image005.jpg
Download image006.jpg
image/jpeg 14.1k
image006.jpg
Seems to work fine for me: $ perl -MDBI -e 'warn $_ for DBI->parse_dsn("dbi:MyDriver(RaiseError=>1):db=test:42")' dbi at -e line 1. MyDriver at -e line 1. RaiseError=>1 at -e line 1. HASH(0x7fb134010b88) at -e line 1. db=test:42 at -e line 1. Closing. Please reopen *with an executable test case* if it doesn't work for you.