summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_portability.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove int6store()Nikita Popov2020-04-141-17/+0
| | | | | The implementation is broken (syntactically). As it's not used anyway, I'm just dropping it instead.
* Fix #79172: STRUCT_OFFSET() relies on undefined behaviorChristoph M. Becker2020-01-281-1/+1
| | | | | Since this pattern is understood by compilers, not a real issue, but certainly cleaner this way.
* Fix shift UB in sint4korr()Nikita Popov2019-06-191-4/+4
|
* Remove MYSQLND_LLU_SPEC/MYSQLND_LL_SPECNikita Popov2019-06-121-59/+0
| | | | No longer used, replaced by PRIu64/PRIi64.
* Remove legacy AC_CHECK_TYPE calls for uint and ulongPeter Kokot2019-03-061-6/+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-10/+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.
* Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-161-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-3/+3
|
* master renames phase 1Anatol Belski2014-08-251-8/+8
|
* ported mysql and mysqlndAnatol Belski2014-08-191-8/+8
|
* unify stdint type usageMichael Wallner2013-08-061-106/+1
| | | | if you need C99 stdint types, just include "php_stdint.h"
* Even better patchAndrey Hristov2010-10-041-8/+4
|
* don't define twice the macro on some platformsAndrey Hristov2010-10-041-0/+2
|
* try to workaround problems with non-c99 on HPUXAndrey Hristov2010-05-311-0/+8
|
* remove redefinition of bit_uint8korrAndrey Hristov2010-01-141-10/+0
|
* Fix compilation warningsAndrey Hristov2009-12-091-41/+38
|
* fix macro so that 5-byte BIT values are decoded correctlyAndrey Hristov2009-12-021-4/+4
|
* - Fix the build issue with php_mysqlnd_config.h ending up in wrong build ↵Jani Taskinen2009-09-241-2/+2
| | | | directory
* Fixed compilation errorDmitry Stogov2009-09-231-0/+4
|
* Baby, one more time :(Andrey Hristov2009-08-251-1/+1
|
* Better fix. A fix of the fixAndrey Hristov2009-08-251-7/+11
|
* Fix bug#48198 error: 'MYSQLND_LLU_SPEC' undeclaredAndrey Hristov2009-08-251-6/+19
| | | | | | | Possibly fix also : Bug #48780 mysqlnd compile failure Bug #46952 mysqlnd compile failure with suncc
* Fix #47535 Compilation failure in ps_fetch_from_1_to_8_bytes()Johannes Schlüter2009-04-201-0/+5
|
* Asynchronous queries for mysqli, when mysqlnd is enabled.Andrey Hristov2008-11-181-1/+35
| | | | | Includes 4 tests for mysqli_poll
* More type fixes for WindowsAndrey Hristov2008-11-061-111/+107
|
* Rely on win32/php_stdint.h on Windows for stdint typesAndrey Hristov2008-11-061-7/+4
|
* Get rid of many defines (which simplifies the code a lot),Andrey Hristov2008-11-061-83/+34
| | | | | as well as uint->unsigned int
* Fix the buildAndrey Hristov2008-10-311-1/+1
|
* 64bit fixes:Andrey Hristov2008-10-311-148/+150
| | | | | | | - fixes to sprintf modifiers, cleaning warnings - use _t types, like uint64_t instead of uint64, thus skipping series of typedefs.
* Merge with internal versionAndrey Hristov2008-01-231-1/+1
|
* fix win32 compileRob Richards2008-01-091-2/+8
|
* - Fix problems with double definitionsAndrey Hristov2008-01-021-75/+61
| | | | | | | | - Clean up a bit a type mess - 4 types less. No need to have aliases for the same thing (unification is the name). - New macro for Johannes mysqlnd_stmt_ro_result_metadata ----------------------------------------------------------------------
* Sync mysqlnd with HEAD. Same sources as in 5_3Andrey Hristov2007-10-161-1/+0
|
* silence the warningAntony Dovgal2007-10-071-0/+1
|
* Update CVSAndrey Hristov2007-08-031-4/+4
| | | | | | | | | - Fix BIT problem for BIT values represented with 5 bytes. Typo. - Make it possible with an ini variable to switch off/on statistics collection. - Compile-out debug checking of uneaten data from the line, when the build is release. According to callgrind this was eating some percentage.
* Return to previous codeAndrey Hristov2007-07-261-1/+1
|
* fix typoJani Taskinen2007-07-261-2/+2
|
* - Moved mysqnd to it's own directory: It is sort of an extension itself.Jani Taskinen2007-07-251-0/+515
(Similar to what ext/libxml is..)