Re: column_info in mysql.pm 2.9002

Re: column_info in mysql.pm 2.9002

am 12.01.2004 20:22:08 von Jochen Wiedmann

Forwarded to perl@lists.mysql.com, in order to read Rudy Lippan, the current
maintainer.


Michael Bernstein wrote:

> Jochen,
>
> Looking at the code in mysql.pm:
>
> sub column_info {
> my ($dbh, $catalog, $schema, $table, $column) = @_;
> return $dbh->set_err(1, "column_info doesn't support table wildcard")
> if $table !~ /^\w+$/;
> return $dbh->set_err(1, "column_info doesn't support column selection")
> if $column ne "%";
>
> It seems that the first test (for table wildcard) should allow
> the '.' character as well as the character class \w, because
> SQL syntax allows table names to be specified .


>
> Thanks!
>
> Michael Bernstein
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org