diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 7a73919..43b8846 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -252,7 +252,8 @@ sub startup { 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(