summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
Commit message (Collapse)AuthorAgeFilesLines
* clean up - avoid reallocXinchen Hui2014-08-131-5/+5
|
* Fixed build with libmysqlXinchen Hui2014-06-271-1/+1
|
* Don't use zend_string for other fields (only name here is enough)Xinchen Hui2014-06-251-12/+8
|
* Respect the origin behavior (fix one test: ext/pdo_mysql/tests/bug_33689.phpt)Xinchen Hui2014-06-231-1/+1
|
* Use zend_string in mysqlndXinchen Hui2014-06-231-0/+9
|
* Fixed call to mysqli_init() from an object. (We should find some better fix)Dmitry Stogov2014-06-121-1/+8
|
* Add one more check to skip getting into code that will do nothingAndrey Hristov2014-05-201-4/+4
|
* Fixed signedXinchen Hui2014-05-171-1/+1
|
* Finish refactoring of MySQLiXinchen Hui2014-05-111-18/+16
| | | | a few tests failed due to knew issue, I will disscuss with dmitry later
* Various bug fixedXinchen Hui2014-05-111-32/+45
|
* Refactor MySQLi (incompleted, only compilable now)Xinchen Hui2014-05-111-221/+163
|
* Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-69/+139
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6Andrey Hristov2014-04-101-17/+65
| |\ | | | | | | | | | | | | Conflicts: ext/mysqli/tests/mysqli_begin_transaction.phpt
| | * Fixes after mergeAndrey Hristov2014-03-201-2/+2
| | |
| | * Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-03-201-33/+45
| | |\
| | | * Emit a warning in case of unallowed characters. Fix another place thisAndrey Hristov2014-03-201-33/+45
| | | | | | | | | | | | | | | | code is used - reuse
| | * | Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-03-201-5/+2
| | |\ \ | | | |/ | | | | | | | | | | | | Conflicts: ext/mysqli/mysqli_api.c
| | | * don't replace with ?, just skip itAndrey Hristov2014-03-201-93/+93
| | | |
| | * | fix compilation errorAndrey Hristov2014-03-191-95/+95
| | | |
| | * | Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-03-191-58/+97
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.in ext/mysqli/mysqli_api.c main/php_version.h
| | | * Fix problem with mysqli_commt()/mysqli_rollback()Andrey Hristov2014-03-191-12/+48
| | | |
| * | | New result fetching mode for mysqlnd, which should use less memory butAndrey Hristov2014-04-101-5/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | implies more memory copy. The old method is still available and can be used. It stays as default. Choosing the method is through a flag to mysqli_query()/mysqli_real_query() New mode can be forced with an INI setting, for all extensions that support this mode (ext/mysql and mysqli, because PDO due to it's architecture can't support it) The setting is mysqlnd.fetch_data_copy=[0|1]
| * | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2014-02-271-0/+8
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | * PHP-5.5: NEWS NEWS test for bug #66762 Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
| | * Merge branch 'PHP-5.4' into PHP-5.5Remi Collet2014-02-271-0/+8
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: NEWS test for bug #66762 Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
| | | * Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closedRemi Collet2014-02-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each new mysqli_stmt now increase the refcount of the link object. So the link is really destroy after all statements. Only implemented with libmysqlclient, as mysqlnd already implement this internally. So, libmysqlclient and mysqlnd have the same behavior.
| | | * Bump yearXinchen Hui2014-01-031-1/+1
| | | |
| | * | Bump yearXinchen Hui2014-01-031-1/+1
| | | |
| * | | Move static functions further up so they are delared efore being used.Johannes Schlüter2014-02-151-60/+58
| | | |
| * | | Add new INI for rollbacking connections put back into the pconn poolAndrey Hristov2014-01-291-2/+12
| | | | | | | | | | | | | | | | | | | | as well a function get the the statistics in easier way than ob_start() and parsing phpinfo().
* | | | Cleanup (1-st round)Dmitry Stogov2014-04-151-7/+7
|/ / /
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-11-081-1/+1
|\ \ | |/
| * Fixed Bug #66043 (Segfault calling bind_param() on mysqli)Xinchen Hui2013-11-081-1/+1
| | | | | | | | | | Although the doc said it is (unsigned int *), but it is ulong* in the libmysql 5.0 's source codes
* | Fix for Bug #64394 MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS undeclared when ↵Andrey Hristov2013-05-141-1/+1
| | | | | | | | using Connector/C
* | mysqli_savepoint()/mysqli_release_savepoint()Andrey Hristov2013-02-081-2/+2
| |
* | Add support for begin_transaction in libmysql mode.Andrey Hristov2013-02-071-4/+81
| | | | | | | | Add support for flags and name for commit/rollback in libmysql mode
* | Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2013-01-091-0/+3
|\ \ | |/
| * Add mysqli support - constants and checking in mysqli_options() for theAndrey Hristov2013-01-091-0/+3
| | | | | | | | new constant for password expriration
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.Andrey Hristov2011-10-311-3/+6
| | | | | | | | | | A step in the direction of keeping internal data private
| * Move from directly referencing an aggregated structure to using aAndrey Hristov2011-10-251-2/+2
| | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
| * Fix Bug #55703(PHP crash when calling mysqli_fetch_fields) Xinchen Hui2011-09-171-1/+6
| | | | | | | | | | Since the catalog values always is "def" now, see http://dev.mysql.com/doc/refman/5.0/en/c-api-data-structures.html
| * Fixed Bug #55653(PS crash with libmysql when binding same variable as param ↵Xinchen Hui2011-09-101-1/+1
| | | | | | | | | | | | | | and out) Actually this caused by attempt to efree a INTERNED string
| * Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when ↵Andrey Hristov2011-09-051-1/+1
| | | | | | | | mysqlnd is used
| * Remove a warning by explicitly compiling out a non-used variableAndrey Hristov2011-08-021-0/+2
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | add protection against core dumps if the underlying library returnsAndrey Hristov2012-10-181-10/+37
| | | | | | | | 0x0 for some reason
* | add a check for libmysqlAndrey Hristov2012-10-031-0/+2
| |
* | change public key setting to PERDIR and finish code that allowsandrey2012-09-251-4/+5
| | | | | | | | to set the key file programatically per mysqli_options()