You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like a simple bug, i downloaded lazysql to try it via go install, and added my local sqlite db to try it.
I added it with a relative path for url on the connection and the "test connection" show it was correct.
I saved and returned to the home screen and selected the db and lazysql panicked.
I tried setting the URL as "./data.db" instead and it works that way.
Already took a look at the code on the line shown in the error and i figured it really expects to have at least on '/', this is the line:
I figure it should at least just use the whole string if there are no slashes to be found in the path.
I may go and submit a PR with it myself later, but I thought I should at least create an issue even if just documenting the problem in case I forget to go and fix it myself.
The text was updated successfully, but these errors were encountered:
This looks like a simple bug, i downloaded lazysql to try it via go install, and added my local sqlite db to try it.
I added it with a relative path for url on the connection and the "test connection" show it was correct.
I saved and returned to the home screen and selected the db and lazysql panicked.
I tried setting the URL as "./data.db" instead and it works that way.
Already took a look at the code on the line shown in the error and i figured it really expects to have at least on '/', this is the line:
lazysql/helpers/utils.go
Line 14 in d6ba3d2
I figure it should at least just use the whole string if there are no slashes to be found in the path.
I may go and submit a PR with it myself later, but I thought I should at least create an issue even if just documenting the problem in case I forget to go and fix it myself.
The text was updated successfully, but these errors were encountered: