Skip to content

Commit 51b123f

Browse files
committed
closes #26
1 parent c9fe6f9 commit 51b123f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/System.Data.Jet/JetConnection.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ public bool DatabaseExists()
418418
public static bool DatabaseExists(string connectionString)
419419
{
420420
string fileName = JetStoreDatabaseHandling.ExtractFileNameFromConnectionString(connectionString);
421+
fileName = fileName.Trim('"');
421422
if (string.IsNullOrWhiteSpace(fileName))
422423
throw new Exception("Cannot retrieve file name from connection string");
423424
return System.IO.File.Exists(fileName);

0 commit comments

Comments
 (0)