mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
DBD-SQLite: suffix doesn't always exist
This commit is contained in:
parent
e9ee8a3481
commit
bc89563e52
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ sub connect {
|
|||
} elsif ( -d $dir ) {
|
||||
# We are creating a new file.
|
||||
# Does the directory it's in at least exist?
|
||||
$real = Win32::GetShortPathName($dir) . $file . $suffix;
|
||||
$real = join '', grep { defined } Win32::GetShortPathName($dir), $file, $suffix;
|
||||
} else {
|
||||
# SQLite can't do mkpath anyway.
|
||||
# So let it go through as it and fail.
|
||||
|
|
Loading…
Add table
Reference in a new issue