Skip Menu |

This queue is for tickets about the DBI-Shell CPAN distribution.

Report information
The Basics
Id: 15631
Status: resolved
Priority: 0/
Queue: DBI-Shell

People
Owner: talowery [...] gmail.com
Requestors: william [...] knowmad.com
Cc:
AdminCc:

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



Subject: describe function is broken with latest DBI
The /describe function is incompatible with recent releases of DBI (tested under 1.48) which apparently have changed the number of parameters needed. DBI::Shell: describe failed: DBI column_info: invalid number of arguments: got handle + 3, expected handle + between 4 and 5 Usage: $h->column_info($catalog, $schema, $table, $column [, \%attr ]) at /usr/local/lib/perl5/site_perl/DBI/Shell.pm line 1409. Thanks, William
From: hjp [...] hjp.at
On Di. 08. Nov. 2005, 14:09:18, guest wrote: Show quoted text
> The /describe function is incompatible with recent releases of DBI > (tested under 1.48) which apparently have changed the number of > parameters needed.
According to the docs, the $column parameter was never optional. However DBI seems to have started to enforce this only at some version between 1.40 and 1.48. Show quoted text
> DBI::Shell: describe failed: DBI column_info: invalid number of > arguments: got handle + 3, expected handle + between 4 and 5 > Usage: $h->column_info($catalog, $schema, $table, $column [, \%attr ]) > at /usr/local/lib/perl5/site_perl/DBI/Shell.pm line 1409.
Yep. The correct fix is to add '%' as the last parameter.
On Thu Apr 12 12:50:30 2007, hjp@hjp.at wrote: Show quoted text
> On Di. 08. Nov. 2005, 14:09:18, guest wrote:
> > The /describe function is incompatible with recent releases of DBI > > (tested under 1.48) which apparently have changed the number of > > parameters needed.
> > According to the docs, the $column parameter was never optional. > However DBI seems to have started to enforce this only at some version > between 1.40 and 1.48. >
> > DBI::Shell: describe failed: DBI column_info: invalid number of > > arguments: got handle + 3, expected handle + between 4 and 5 > > Usage: $h->column_info($catalog, $schema, $table, $column [, \%attr ]) > > at /usr/local/lib/perl5/site_perl/DBI/Shell.pm line 1409.
> > Yep. The correct fix is to add '%' as the last parameter.
Looks like this was resolved in version 11.95.