diff options
author | Christoph M. Becker <cmb@php.net> | 2016-07-27 16:37:49 +0200 |
---|---|---|
committer | Christoph M. Becker <cmb@php.net> | 2016-07-27 16:41:03 +0200 |
commit | cc125f277b50e0f90fc8033fe7f47d2446389a15 (patch) | |
tree | 1a90a95e7ee1520ddff4314017cc6eca67e1e167 /ext/mbstring/php_mbregex.c | |
parent | cce457c68c3a15efafea3a30560c54f74f3f5ee1 (diff) | |
download | php-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/mbstring/php_mbregex.c')
0 files changed, 0 insertions, 0 deletions