mattn/go-sqlite3

`unable to open database file` if path is prefixed with `\\?\` on Windows

Wieku opened this issue · 1 comments

Wieku commented

When path is prefixed with \\?\ on Windows which is valid when we want to go beyond 260 character path limit, sql.Open("sqlite3", "\\\\?\\......") fails with this error:

unable to open database file: The filename, directory name, or volume label syntax is incorrect

Using the same path without that prefix works.