mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-5.5' into PHP-5.6
Conflicts: ext/mysqli/mysqli_api.c
This commit is contained in:
commit
e52334fdbe
2 changed files with 4 additions and 10 deletions
|
@ -33,9 +33,9 @@
|
|||
#include "ext/standard/php_smart_str.h"
|
||||
#include "php_mysqli_structs.h"
|
||||
#include "mysqli_priv.h"
|
||||
|
||||
|
||||
#if !defined(MYSQLI_USE_MYSQLND)
|
||||
|
||||
|
||||
/* {{{ mysqli_tx_cor_options_to_string */
|
||||
static void mysqli_tx_cor_options_to_string(const MYSQL * const conn, smart_str * str, const unsigned int mode)
|
||||
{
|
||||
|
@ -101,12 +101,9 @@ static int mysqli_commit_or_rollback_libmysql(MYSQL * conn, zend_bool commit, co
|
|||
v == ' ' ||
|
||||
v == '=')
|
||||
{
|
||||
*p_copy = v;
|
||||
} else {
|
||||
*p_copy = '?';
|
||||
*p_copy++ = v;
|
||||
}
|
||||
++p_orig;
|
||||
++p_copy;
|
||||
}
|
||||
*p_copy++ = '*';
|
||||
*p_copy++ = '/';
|
||||
|
|
|
@ -2717,12 +2717,9 @@ MYSQLND_METHOD(mysqlnd_conn_data, tx_commit_or_rollback)(MYSQLND_CONN_DATA * con
|
|||
v == ' ' ||
|
||||
v == '=')
|
||||
{
|
||||
*p_copy = v;
|
||||
} else {
|
||||
*p_copy = '?';
|
||||
*p_copy++ = v;
|
||||
}
|
||||
++p_orig;
|
||||
++p_copy;
|
||||
}
|
||||
*p_copy++ = '*';
|
||||
*p_copy++ = '/';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue