summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm3
1 files changed, 2 insertions, 1 deletions
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(