kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
758 stars 51 forks source link

Sqlite driver fails with weird error when path starts with ~/ #31

Closed 33KK closed 9 months ago

33KK commented 1 year ago
sources = {
    require("dbee.sources").MemorySource:new({
        {
            name = "test",
            type = "sqlite",
            url = "~/test.db",
        },
    }),
},
   Error  07:21:52 notify.error nvim-dbee unable to open database file: out of memory (14)
kndndrj commented 1 year ago

Same error if using env variables in the DSN.

This is an issue with the used sqlite driver. We can either:

henryoliver commented 1 year ago

I'm getting same issue here:

unable to open database file: out of memory (14)

image