supporting year type in DBD/mysql.pm column_info?

[email protected] (Karl Berry)
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
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.

[email protected]

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
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.