summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli_structs.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove vestiges of embedded mysql from testsNikita Popov2020-09-171-1/+0
|
* Fix warnings when building against libmysqlclientNikita Popov2020-09-171-1/+1
| | | | At least for version 8.0 this is warning free now.
* Merge branch 'PHP-7.4'Nikita Popov2020-09-171-13/+3
|\ | | | | | | | | | | | | * PHP-7.4: pdo_mysql/mysqli (native) libmysqlclient_r no-longer used mysql: native mysql-8.0 uses _Bool mysqli: use native api
| * Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-09-171-13/+3
| |\ | | | | | | | | | | | | | | | | | | * PHP-7.3: pdo_mysql/mysqli (native) libmysqlclient_r no-longer used mysql: native mysql-8.0 uses _Bool mysqli: use native api
| | * mysql: native mysql-8.0 uses _BoolDaniel Black2020-09-171-2/+2
| | | | | | | | | | | | MySQL-8.0 removes option MYSQLI_OPT_SSL_VERIFY_SERVER_CERT
| | * mysqli: use native apiDaniel Black2020-09-171-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested with: * mysql-5.6.49-linux-glibc2.12-x86_64 * mysql-5.7.31-linux-glibc2.12-x86_64 * mysql-8.0.21-linux-glibc2.17-x86_64 * mariadb-10.5.6 configure --with-mysqli=/usr/local/$version/bin/mysql_config --with-pdo-mysql=/usr/local/$version MySQL-8.0 removed my_bool Some options where deprecated in mysql-8.0 MY_CHARSET_INFO used with exposed api mysql_get_character_set_info rather than internal structures.
* | | Don't assert mysql->mysql is non-nullNikita Popov2020-08-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | There is an edge case in constructor behavior where we can end up with mysql->mysql being NULL (rather than mysql itself already being NULL). I think that ultimately that's a bug in the constructor code, and we should probably be destroying the outer structure on construction failure as well. However it's pretty hard to unravel with when considering all the construction permutations.
* | | Fix some clang warningsNikita Popov2020-07-231-2/+2
| | |
* | | Fix [-Wundef] warning in MySQLi extensionGeorge Peter Banyard2020-05-181-1/+1
| | |
* | | Drop wchar header check as always defined since C95George Peter Banyard2020-03-311-21/+0
| | |
* | | Promote mysqli warnings to exceptionsMáté Kocsis2020-01-301-8/+8
| | | | | | | | | | | | Closes GH-5058
* | | Merge branch 'PHP-7.4'Máté Kocsis2020-01-281-1/+1
|\ \ \ | |/ / | | | | | | * Fix #78666 mysqli_options generates Warning on var_dump()
| * | Fix #78666 mysqli_options generates Warning on var_dump()Máté Kocsis2020-01-281-1/+1
| | | | | | | | | | | | Closes GH-5121
* | | Convert infallible mysqli checks to assertsNikita Popov2020-01-091-10/+2
| | |
* | | Remove unused MYSQLI_STATUS_CLEAREDNikita Popov2020-01-091-1/+0
| | |
* | | Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
|/ / | | | | | | Closes GH-4732.
* | 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
|/ /