| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-5.6:
Happy new year (Update copyright to 2016)
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
Add support for flags and name for commit/rollback in libmysql mode
|
| |
|
| |
|
|
|
|
|
| |
in always true. Thanks Stas.
|
|
|
|
| |
mysqlnd is used
|
|
|
|
|
|
|
| |
to mysqlnd. This is needed as a password might include
a \0 and thus we need to be binary safe.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown
up by white space changes...
Changes:
- remove end of line white space
- fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive"
|
|
|
|
|
|
| |
- USE_RESULT, can be iterated only once, kind of forward iterator
- STORE_RESULT, can be iterated multiple times
|
|
|
|
|
|
|
|
| |
needed to move to a new structure MYSQLND_STMT. Makes
the code cleaner and less error-prone.
Also fix PDO/MySQL which directly touch mysqlnd internals
instead of using API calls.
|
|
|
|
|
|
|
|
| |
might not be available for some weird reasons. Added the macros
that we need, in that case
Code by Jess Portnoy
|
|
|
|
| |
that have timed out or are unusable for any other reason - bug #49761
|
|
|
|
| |
handle. Most of the patch comes from Andrey.
|
|
Patch ext/mysql and ext/mysqli to support mysqlnd
|