Awesome, “unable to open database file: out of memory (14)” actually means that the SQLite file cannot be created, because the parent directory does not exist. Bonus points for Open(…)
being successful and only executing the first command giving me that error. Meh.
@lyse@lyse.isobeef.org Did someone call perror()
after something that does not change errno
? 🥴
@movq@www.uninformativ.de No, that’s just a general SQLite thing: https://gitlab.com/cznic/sqlite/-/issues/102 But, mkdir -p $dir
and just retrying the command works.