Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 8541
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: ekolve [...] comcast.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.9005_3
Fixed in: (no value)



Subject: support primary_key DBI interface
The DBI has a method called primary_key_info, which can be implemented by the DBDs to return information about the table's primary key(s). It would be nice to have this implemented for DBD::mysql. It should be pretty straightforward since the information can be retrieved from SHOW COLUMNS.
Code has been committed to add support for primary_key_info (and primary_key). It will be in the next release (probably 4.01).