summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli_structs.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix #78666 mysqli_options generates Warning on var_dump()Máté Kocsis2020-01-281-1/+1
| | | | Closes GH-5121
* Remove legacy AC_CHECK_TYPE calls for uint and ulongPeter Kokot2019-03-061-4/+0
| | | | | | | | | | | | | | | | | | | | | The AC_CHECK_TYPE was refactored in more recent versions of Autoconf and the call with two arguments is obsolete and not recommended anymore. This patch also refactors some leftovers of using ulong and uint which are not standard nor common usages of types in C. The ulong can be used as zend_ulong and uint usage is actually `unsigned int`. The usage of HAVE_ULONG removed since it is not used in current code base. Legacy edgecase for some legacy HPUX systems removed: - sys/stream.h header is not checked and the HAVE_SYS_STREAM_H is not defined with current build system. - flags are unsigned int - max_allowed_packet changed to unsigned int
* Remove local variablesPeter Kokot2019-02-031-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Remove my_estrdup() and my_efree() macrosNikita Popov2018-09-171-3/+0
| | | | Replace the single use of my_efree().
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | 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.
* [Bug 75448] In case of failure, mysqli::prepare() returns NULL instead of FALSESergei Morozov2018-02-101-2/+2
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Move zend_object_iterator_funcs structures into read-only data segmentDmitry Stogov2017-12-141-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'PHP-7.0'Nikita Popov2016-03-031-1/+1
|\
| * Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | | | | | Also re bug #71575.
* | Remove HAVE_SPL checksNikita Popov2016-01-301-4/+0
|/ | | | | | SPL is always built. Also clean up spl_ce_RuntimeException handling in PDO.
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-6/+2
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-6/+6
| | | | | | | | semantick changes).
* | Merge branch 'PHP-5.6'Xinchen Hui2015-03-091-1/+0
|\ \ | |/ | | | | | | Conflicts: ext/mysqli/php_mysqli_structs.h
| * Merge branch 'PHP-5.5' into PHP-5.6Xinchen Hui2015-03-091-1/+0
| |\
| | * Revert "Fix #63486"Xinchen Hui2015-03-091-1/+0
| | | | | | | | | | | | This reverts commit f4c96ffcb565c1daa76aa58256e4df6f111f8803.
| | * Fix #63486Julien Pauli2015-02-201-0/+1
| | |
| | * Bump yearXinchen Hui2015-01-151-1/+1
| | |
| * | Fix #63486Julien Pauli2015-03-081-0/+1
| | |
| * | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | Fixed buildXinchen Hui2015-03-091-1/+1
| | |
* | | Fix #63486Julien Pauli2015-03-081-0/+1
| | |
* | | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-1/+1
| | | | | | | | | | | | which also comply with the current semantics for such macros
* | | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-15/+15
| | |
* | | converted some ext/mysql* and fixed ext/zlibAnatol Belski2014-10-151-1/+4
| | |
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | |
* | | master renames phase 1Anatol Belski2014-08-251-19/+19
| | |
* | | ported ext/mysqliAnatol Belski2014-08-191-19/+19
| | |
* | | Various bug fixedXinchen Hui2014-05-111-2/+2
| | |
* | | Refactor MySQLi (incompleted, only compilable now)Xinchen Hui2014-05-111-28/+29
|/ /
* | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2014-02-271-0/+4
|\ \ | |/ | | | | | | | | | | | | * 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/+4
| |\ | | | | | | | | | | | | | | | | | | * 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/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | |
| | * Happy New YearXinchen Hui2013-01-011-1/+1
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | Add new INI for rollbacking connections put back into the pconn poolAndrey Hristov2014-01-291-0/+1
| | | | | | | | | | | | | | | as well a function get the the statistics in easier way than ob_start() and parsing phpinfo().
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Remove support for local infile handler in mysqli from 5.5andrey2012-05-031-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the following functions from the API: mysqli_set_local_infile_default() mysqli_set_local_infile_handler() Using these functions is known to be lead to stability problems in mysqli. It was only enabled when compiling against libmysql. mysqlnd doesn't have this support for local infile. However, with mysqlnd it can be emulated by using stream handlers like in: $c->query("LOAD DATA LOCAL INFILE "http://example.com/import.csv" INTO ...") All available protocols, as well as user implemented ones can be added.
* | remove dead and unused for more than 8 years codeandrey2012-05-031-6/+0
| |
* | - Year++Felipe Pena2012-01-011-1/+1
|/
* - Year++Felipe Pena2011-01-011-1/+1
|
* Sorry for the commit but compiler warnings are annoying and so are white ↵Ulf Wendel2010-10-041-4/+4
| | | | | | | | | | | | | | 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"