This closes RT #21260: Problem with last_insert_rowid:
http://rt.cpan.org/Public/Bug/Display.html?id=21260
}
}
+sub _dbh_last_insert_id {
+ my ($self, $dbh, $source, $col) = @_;
+
+ # punt: if there is no derived class for the specific backend, attempt
+ # to use the DBI->last_insert_id, which may not be sufficient (see the
+ # discussion of last_insert_id in perldoc DBI)
+ return $dbh->last_insert_id(undef, undef, $source->from, $col);
+}
1;