Explicitly enable autocommit
This commit is contained in:
parent
1fe8ee8e6a
commit
d0e1c5d1db
1 changed files with 2 additions and 1 deletions
|
@ -252,7 +252,8 @@ sub startup {
|
||||||
|
|
||||||
my $dbname = $ENV{TRAVELYNX_DB_FILE} // 'travelynx.sqlite';
|
my $dbname = $ENV{TRAVELYNX_DB_FILE} // 'travelynx.sqlite';
|
||||||
|
|
||||||
return DBI->connect( "dbi:SQLite:dbname=${dbname}", q{}, q{} );
|
return DBI->connect( "dbi:SQLite:dbname=${dbname}", undef, undef,
|
||||||
|
{ AutoCommit => 1 } );
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
$self->attr(
|
$self->attr(
|
||||||
|
|
Loading…
Reference in a new issue