| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reset stmt->columns when column count changed on new execution of prepared statement
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.1:
Improve cleanup
|
| |
| |
| |
| | |
The persistent connection locks the file which might prevent deletion.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Fix buid with system libsqlite, see bug #74217
|
| |
| |
| |
| |
| |
| | |
SQLITE_DETERMINISTIC only exists in recent version
e.g. missing on 3.7 which is the default on RHEL/CentOS-7
and probably others (wheezy have 3.7, jessie 3.8...)
|
|\ \
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The sqlite3 docs suggest always using prepare_v2 and the close_v2
could potentially help with an fd leak we have been seeing
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
* PHP-7.0:
Enable FTS4 and FTS5 for bundled libsqlite
|
| |
| |
| |
| |
| |
| |
| | |
FTS3 is already enabled by default, and the other FTS versions
seems just to have been missed. Given that, the other FTS plugins
look like a low impact so worth a try. The current bundled libsqlite
versions in 7.x are proven stable already and support FTS5.
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-7.0:
fix test if unlink fails occasionally
fix dir separator in test
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Create temporary sqlite db in test dir rather than cwd (and clean it up)
|
| |
| |
| |
| | |
Well behaved tests do not leave their droppings all over the filesystem.
|
| |
| |
| |
| | |
but is never used.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PHP_VERSION_ID
PHP_API_VERSION
ZEND_MODULE_API_NO
PHP_MAJOR_VERSION, PHP_MINOR_VERSION
ZEND_ENGINE_2
I've left litespeed alone, as it seems to genuinely maintain support
for many PHP versions.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* PHP-7.0:
Update header to PHP Version 7
Happy new year (Update copyright to 2016)
Happy new year (Update copyright to 2016)
|
| |\
| | |
| | |
| | |
| | | |
* PHP-5.6:
Happy new year (Update copyright to 2016)
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
semantick changes).
|
| | |
|
| |
| |
| |
| | |
EG(scope) accordingly.
|
| | |
|
| | |
|