1
0
Fork 0
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:
Kenichi Ishigaki 2009-04-15 19:42:19 +00:00
parent e9ee8a3481
commit bc89563e52

View file

@ -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.