| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
against potential security flaws
|
|
|
|
| |
We have to call `sqlite3_reset()` before re-binding the parameters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
* PHP-7.1:
Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle
|
| |
| |
| |
| |
| | |
We need to ensure that a zval IS_DOUBLE before we access it as such.
In this case we apply common type juggling to do so.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
move AC_DEFINE in the right position (in bundled lib conditon)
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.0:
move AC_DEFINE in the right position (in bundled lib conditon)
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
use AC_DEFINE + win32
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
use AC_DEFINE + win32
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
fix build with old system libsqlite (sqlite3_errstr may be missing)
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
fix build with old system libsqlite (sqlite3_errstr may be missing)
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
|
| | |
| | |
| | |
| | | |
with invalid flags
|
| | |
| | |
| | |
| | |
| | | |
Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* pull-request/2528:
Change flags to use SQLITE3_OPEN_READ* constants instead of a fake-boolean, add tests on errors
Implement writing to BLOBs in SQLite3
|
| | | |
| | | |
| | | |
| | | | |
add tests on errors
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* PHP-7.1:
Use reasonable SQLite3 module version
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | | |
* PHP-7.0:
Use reasonable SQLite3 module version
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3
module version is hardcoded to `0.7-dev`. It doesn't appear to make
much sense to have an own module version for a bundled extensions, but
as other code might rely on it, we don't remove the constant but rather
make it an alias of the PHP version.
|
| |_|/
|/| | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Fix misleading typo in identifiers
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Fix misleading typo in identifiers
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
fixed bug #74413 wrong reflection on SQLite3::enableExceptions
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
fixed bug #74413 wrong reflection on SQLite3::enableExceptions
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* 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...)
|
|\ \ \
| |/ / |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|