System.Data.SQLite
Ticket Change Details
Not logged in
Overview

Artifact ID: affaf7f157c7c06b56f40390d1a3c58e52e05d7c
Ticket: d1c4880f98e672f820b656dea9d75392dd0b5ff4
Unable to open database on WIndows
User & Date: anonymous 2020-01-11 11:44:46
Changes

  1. Change foundin to "1.0.112"
  2. Change icomment to:

    Running tests from a project, I see a lot of failures with "unable to open database" errors. Tracing through decompiled code via rider, the problem seems to be in SQLiteConnection.MapUriPath, where a uri like file:///C:/Path/To/Database.db is being erroneously translated into /C:/Path/Do/Database.db and later on that is expanded to "C:\C:\Path\To\Database.db" by SQLiteConnection.ExpandFileName, which, of course, cannot be opened.

    I would have raised a PR with a code fix, but I'm not sure how to do so considering the download source options from system.data.sqlite.org mention using Fossil or provide snapshot code. If this project were on GitHub (or something similar with a pull request workflow), I'd have provided a fix. Sorry.

  3. Change login to "anonymous"
  4. Change mimetype to "text/x-markdown"
  5. Change private_contact to "068802cc9666206b3b9be2213d2407b6b2d7f83e"
  6. Change severity to "Important"
  7. Change status to "Open"
  8. Change title to "Unable to open database on WIndows"
  9. Change type to "Code_Defect"