forked from lix-project/lix
* Use last_insert_id instead of sqlite_last_insert_rowid, which you're
not really supposed to use according to the DBD::SQLite docs, and fails on some systems (e.g. http://hydra.nixos.org/build/1246662).
This commit is contained in:
parent
da18b11b05
commit
a95ba4cdd9
|
@ -301,7 +301,7 @@ EOF
|
|||
$dbh->do("insert into Manifests(path, timestamp) values (?, ?)",
|
||||
{}, $manifest, $timestamp);
|
||||
|
||||
our $id = $dbh->sqlite_last_insert_rowid();
|
||||
our $id = $dbh->last_insert_id("", "", "", "");
|
||||
|
||||
sub addNARToDB {
|
||||
my ($storePath, $narFile) = @_;
|
||||
|
|
Loading…
Reference in a new issue