| 1 | package DBR::Misc::Connection::Mysql; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use base 'DBR::Misc::Connection'; | ||
| 5 | |||
| 6 | |||
| 7 | sub getSequenceValue{ | ||
| 8 | my $self = shift; | ||
| 9 | my $call = shift; | ||
| 10 | |||
| 11 | my ($insert_id) = $self->{dbh}->selectrow_array('select last_insert_id()'); | ||
| 12 | return $insert_id; | ||
| 13 | |||
| 14 | } | ||
| 15 | |||
| 16 | sub can_trust_execute_rowcount{ 1 } # NOTE: This should be variable when mysql_use_result is implemented | ||
| 17 | |||
| 18 | 1; |