supporting year type in DBD/mysql.pm column_info?

supporting year type in DBD/mysql.pm column_info?

am 20.12.2004 02:13:46 von Karl

Greetings,

I happened to define a couple of columns using the mysql type YEAR.
Calling column_info on them reports:

unsupported column 'year_start' type 'year' treated as varchar at
/usr/local/lib/perl5/...

Any chance of supporting this type? (I checked 2.9004, the latest I saw
on CPAN, and did not see it mentioned.)

Looking at the definition in mysql.pm, I suspect it can be handled
similarly to date* and time*. Unfortunately I don't know about about
mysql and DBD-mysql internals to attempt a patch.

(It would also be nice to be able to turn off that warning.)

Thanks for the great software.

karl@freefriends.org

--
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