X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FPK%2FAuto%2FSQLite.pm;fp=lib%2FDBIx%2FClass%2FPK%2FAuto%2FSQLite.pm;h=a86bf890f4c1eec982bc61bb59ab275bc19dbf2c;hb=7c4b64e8a7c312b1dde7b67b63922abaf473eb37;hp=5ddd2c0b9e68644efc8530b8ccf41bd1ea6a74cb;hpb=8b445e337a0dbacf4ccb827211002f8d691ad671;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/PK/Auto/SQLite.pm b/lib/DBIx/Class/PK/Auto/SQLite.pm index 5ddd2c0..a86bf89 100644 --- a/lib/DBIx/Class/PK/Auto/SQLite.pm +++ b/lib/DBIx/Class/PK/Auto/SQLite.pm @@ -8,7 +8,7 @@ use base qw/DBIx::Class/; __PACKAGE__->load_components(qw/PK::Auto/); sub last_insert_id { - return $_[0]->_get_dbh->func('last_insert_rowid'); + return $_[0]->storage->dbh->func('last_insert_rowid'); } 1;