Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 110105
Status: new
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: porton [...] narod.ru
Cc:
AdminCc:

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



Subject: $Column->{UNSIGNED} seems to be forgotten
Date: Sat, 05 Dec 2015 23:27:01 +0200
To: bug-DBI [...] rt.cpan.org
From: Victor Porton <porton [...] narod.ru>
It looks like that DBI.pm provides no way (except to to look into INFORMATION_SCHEMA) to check if a given column of a table is UNSIGNED. For me, it looks like that DBI developers just forgot about querying UNSIGNED attribute. I propose to add UNSIGNED or UNSIGNED_ATTRIBUTE to the hashes returned by column_info(). It should be 0, 1, or undef (for non-numeric types). -- Victor Porton - http://portonvictor.org