go-sqlite3
go-sqlite3 copied to clipboard
`unable to open database file` if path is prefixed with `\\?\` on Windows
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.