From d4de22088c316bd08a2bf9ebcf0532d7c2af45e8 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Thu, 23 May 2019 03:31:31 +0900 Subject: [PATCH] sqlite_db_filename may return an empty string or undef, dependeing on the situation (fix #50) --- lib/DBD/SQLite.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/DBD/SQLite.pm b/lib/DBD/SQLite.pm index f295f31..13f3c11 100644 --- a/lib/DBD/SQLite.pm +++ b/lib/DBD/SQLite.pm @@ -1864,7 +1864,8 @@ C<$dbh-Esqlite_last_insert_rowid()> directly. =head2 $dbh->sqlite_db_filename() -Retrieve the current (main) database filename. If the database is in-memory or temporary, this returns C. +Retrieve the current (main) database filename. If the database is in-memory +or temporary, this returns an empty string, or C. =head2 $dbh->sqlite_busy_timeout()