[perl5-dbi/dbi] b282ec: Fix extentension detection for DBD::File related d...

"H.Merijn Brand - Tux" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <5749a6134366f_d873fad4c4352b8843d2@hookshot-fe3-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/dbi
  Commit: b282ece8715f16fc8a50ddb0a282eaf3adaea7aa
      https://github.com/perl5-dbi/dbi/commit/b282ece8715f16fc8a50ddb0a282eaf3adaea7aa
  Author: H.Merijn Brand - Tux <[email protected]>
  Date:   2016-05-28 (Sat, 28 May 2016)

  Changed paths:
    M Changes
    M lib/DBD/File.pm

  Log Message:
  -----------
  Fix extentension detection for DBD::File related drivers

Before:
perl -MDBI -E'my$s=DBI->connect("dbi:CSV:",undef,undef,{f_ext=>".csv/r"})->prepare("select * from newcsv");$s->execute;$s->fetch'
DBD::CSV::st execute failed:
Execution ERROR: Cannot open /pro/3gl/CPAN/DBI-git/ne.csv: No such file or directory (2) at /pro/lib/perl5/site_perl/5.24.0/x86_64-linux-thread-multi-ld/DBI/DBD/SqlEngine.pm line 1624.
                                             ^^^^^^

After:
$ perl -MDBI -E'my$s=DBI->connect("dbi:CSV:",undef,undef,{f_ext=>".csv/r"})->prepare("select * from newcsv");$s->execute;$s->fetch'
DBD::CSV::st execute failed:
Execution ERROR: Cannot open /pro/3gl/CPAN/DBI-git/newcsv.csv: No such file or directory (2) at /pro/lib/perl5/site_perl/5.24.0/x86_64-linux-thread-multi-ld/DBI/DBD/SqlEngine.pm line 1624.
                                             ^^^^^^^^^^
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.