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

Owner: Nobody in particular
Requestors: ekolve [...]

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

Subject: support primary_key DBI interface
Download (untitled) / with headers
text/plain 292b
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.
Download (untitled) / with headers
text/plain 127b
Code has been committed to add support for primary_key_info (and primary_key). It will be in the next release (probably 4.01).

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to