Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
sqlite_db_filename returns "" instead of undef #50
But instead it returns an empty string:
I'm not confident enough in C to fix this in code. If you'd rather adjust the documentation to the existing behavior I can provide a PR.
Thanks for spotting this. Until recently, the comment in sqlite3.c has said like this:
However, it has actually been returning an emtpy string or NULL depending on the situation, at least since 2013. And now, the latest version of sqlite3.c has changed its comment as follows.
I committed a change in the pod. I'm not going to release this today, but it's about time to release the next stable version, so I think this commit will be in soon.