List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:January 12 2004 7:22pm
Subject:Re: column_info in mysql.pm 2.9002
View as plain text  
Forwarded to perl@stripped, 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 <database>.<table>
> 
> Thanks!
> 
> Michael Bernstein
> 
> 
> 

Thread
Re: column_info in mysql.pm 2.9002Jochen Wiedmann12 Jan
  • Re: column_info in mysql.pm 2.9002Rudy Lippan21 Jan