| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Requires the use of mysql_real_escape_string_quote().
|
|
|
|
|
|
|
|
|
|
| |
bind parameters
Added new flags that allow skipping param_evt(s) that are not used by drivers,
in a backwards and forward compatible manner. Updated the pgsql, mysql, sqlite
and oci drivers to properly use the new flags. I've left out pdo_dblib, which
doesn't have a param_hook, and pdo_firebird, which seems to be using
PARAM_EVT_NORMALIZE in a wrong context (param type vs event type).
|
|
|
|
|
|
|
|
|
| |
PDO::__construct() fails
PDO driver constructors are throwing PdoException without setting
errorInfo, so create a new reusable function that throws exceptions
for PDO and will also set the errorInfo. Use this function in
pdo_mysql, pdo_sqlite, and pdo_pgsql.
|
|
|
|
|
|
| |
Make sure pointer types match what is used by libmysql everywhere.
Closes GH-5380.
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- set default for mysqli.allow_local_infile=0
- explicitly disable PDO::MYSQL_ATTR_LOCAL_INFILE in case of lack of driver options
- add getAttribute support for PDO::MYSQL_ATTR_LOCAL_INFILE
- update existing tests where needed
- add new tests [checking default value and setting on] the 'local infile' in ext/mysqli and ext/pdo_mysql
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Use mysqlnd_restart_psession and mysqlnd_end_psession in PDO MySQL.
This makes sure we free last_message while ZMM is still live.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
|
| | |
| | |
| | |
| | | |
where we sure about string persistence.
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
For mysql_commit() everything non-zero is an error.
|
|/ / |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
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-5.6:
Happy new year (Update copyright to 2016)
|
| | |
|
|\ \
| |/
| |
| |
| | |
Conflicts:
ext/mysql/php_mysql.c
|
| |
| |
| |
| | |
Actually, this only be fixed if php uses mysqlnd
|
|\ \
| |/
| |
| |
| |
| | |
Conflicts:
ext/pdo/pdo_dbh.c
ext/pdo/php_pdo_driver.h
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
* PHP-5.6:
updated NEWS
updated NEWS
PDO_MySQL: Differentiate between linux and win32 when passing unix_socket
Conflicts:
ext/pdo_mysql/mysql_driver.c
|
| |\
| | |
| | |
| | |
| | |
| | | |
* PHP-5.5:
updated NEWS
PDO_MySQL: Differentiate between linux and win32 when passing unix_socket
|
| | |
| | |
| | |
| | |
| | |
| | | |
Unix uses "127.0.0.1" as default host for named pipes,
while when using Windows a "." is required as host by mysqlnd.
(This can be seen at mysqlnd.c (line 945 or searching #ifndef PHP_WIN32)
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-5.6:
Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-5.5:
Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names
|
| | |\
| | | |
| | | |
| | | | |
attribute names
|
| | | |
| | | |
| | | |
| | | | |
attribute names
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | | |
* PHP-5.6:
C89 compat
add include for missing localeconv_r proto
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | | |
* PHP-5.5:
C89 compat
add include for missing localeconv_r proto
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
* PHP-5.6:
Updated NEWS
Updated NEWS
Start adding new attribute to control multi statements
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | | |
* PHP-5.5:
Updated NEWS
Start adding new attribute to control multi statements
|