summaryrefslogtreecommitdiff
path: root/ext/sqlite3/libsqlite
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2016-07-27 16:37:49 +0200
committerChristoph M. Becker <cmb@php.net>2016-07-27 16:41:03 +0200
commitcc125f277b50e0f90fc8033fe7f47d2446389a15 (patch)
tree1a90a95e7ee1520ddff4314017cc6eca67e1e167 /ext/sqlite3/libsqlite
parentcce457c68c3a15efafea3a30560c54f74f3f5ee1 (diff)
downloadphp-git-cc125f277b50e0f90fc8033fe7f47d2446389a15.tar.gz
Implement #72653: SQLite should allow opening with empty filename
From the [sqlite3_open](https://www.sqlite.org/c3ref/open.html) docs: | If the filename is an empty string, then a private, temporary on-disk | database will be created. This private database will be automatically | deleted as soon as the database connection is closed. We make that facility available to userland. While we're at it, we also do some minor optimizations, remove the unnecessary check for NUL characters in filename, which is already catered to by ZPP(p), and add a missing `return` in case db_obj isn't initialized.
Diffstat (limited to 'ext/sqlite3/libsqlite')
0 files changed, 0 insertions, 0 deletions