php-src/ext/mysqlnd
Arnaud Le Blanc 11accb5cdf
Preferably include from build dir (#13516)
* Include from build dir first

This fixes out of tree builds by ensuring that configure artifacts are included
from the build dir.

Before, out of tree builds would preferably include files from the src dir, as
the include path was defined as follows (ignoring includes from ext/ and sapi/) :

    -I$(top_builddir)/main
    -I$(top_srcdir)
    -I$(top_builddir)/TSRM
    -I$(top_builddir)/Zend
    -I$(top_srcdir)/main
    -I$(top_srcdir)/Zend
    -I$(top_srcdir)/TSRM
    -I$(top_builddir)/

As a result, an out of tree build would include configure artifacts such as
`main/php_config.h` from the src dir.

After this change, the include path is defined as follows:

    -I$(top_builddir)/main
    -I$(top_builddir)
    -I$(top_srcdir)/main
    -I$(top_srcdir)
    -I$(top_builddir)/TSRM
    -I$(top_builddir)/Zend
    -I$(top_srcdir)/Zend
    -I$(top_srcdir)/TSRM

* Fix extension include path for out of tree builds

* Include config.h with the brackets form

`#include "config.h"` searches in the directory containing the including-file
before any other include path. This can include the wrong config.h when building
out of tree and a config.h exists in the source tree.

Using `#include <config.h>` uses exclusively the include path, and gives
priority to the build dir.
2024-06-26 00:26:43 +02:00
..
config-win.h build/php.m4: remove test for integer types (#10304) 2023-01-13 11:51:15 +00:00
config.w32 Add PHP_SETUP_ZLIB M4 macro (#14591) 2024-06-21 15:05:34 +02:00
config9.m4 Normalize mysqlnd extension sources (#14654) 2024-06-25 19:33:51 +02:00
CREDITS
mysql_float_to_double.h Revert GH-10220 2023-01-16 12:27:33 +01:00
mysqlnd.h Skip validity and length calls when the byte cannot be part of a multibyte sequence 2024-03-07 20:27:18 +01:00
mysqlnd_alloc.c Fix potential heap corruption due to alignment mismatch 2022-10-13 11:47:24 +02:00
mysqlnd_alloc.h
mysqlnd_auth.c Fix GH-11438: mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters 2023-08-03 20:28:11 +02:00
mysqlnd_auth.h
mysqlnd_block_alloc.c
mysqlnd_block_alloc.h
mysqlnd_charset.c Merge branch 'PHP-8.3' 2024-03-22 11:32:23 +01:00
mysqlnd_charset.h Fixed handshake response charset. (#13470) 2024-03-04 21:53:52 +09:00
mysqlnd_commands.c Fixed handshake response charset. (#13470) 2024-03-04 21:53:52 +09:00
mysqlnd_commands.h
mysqlnd_connection.c Remove redundant check in mysqlnd_conn_data::connect (#13849) 2024-03-31 16:16:49 +02:00
mysqlnd_connection.h
mysqlnd_debug.c
mysqlnd_debug.h
mysqlnd_driver.c Skip validity and length calls when the byte cannot be part of a multibyte sequence 2024-03-07 20:27:18 +01:00
mysqlnd_enum_n_def.h Merge branch 'PHP-8.3' 2024-04-12 11:04:41 +01:00
mysqlnd_ext_plugin.c Fix incorrect function/method names in DBG_ENTER() (#11554) 2023-06-29 13:13:55 +01:00
mysqlnd_ext_plugin.h
mysqlnd_libmysql_compat.h
mysqlnd_loaddata.c
mysqlnd_plugin.c
mysqlnd_plugin.h
mysqlnd_portability.h Fix shift out of bounds on 32-bit non-fast-path platforms (#10941) 2024-04-04 19:28:10 +02:00
mysqlnd_priv.h
mysqlnd_protocol_frame_codec.c Merge branch 'PHP-8.1' into PHP-8.2 2023-08-10 15:25:37 +01:00
mysqlnd_protocol_frame_codec.h
mysqlnd_ps.c Remove redundant check in mysqlnd_fetch_stmt_row_cursor (#13850) 2024-03-31 16:16:27 +02:00
mysqlnd_ps.h
mysqlnd_ps_codec.c [skip ci] Fix various typos and grammar issues (#11143) 2023-04-28 11:05:32 +02:00
mysqlnd_read_buffer.c
mysqlnd_read_buffer.h
mysqlnd_result.c Merge branch 'PHP-8.2' into PHP-8.3 2024-05-17 13:13:18 +02:00
mysqlnd_result.h
mysqlnd_result_meta.c Fix incorrect function/method names in DBG_ENTER() (#11554) 2023-06-29 13:13:55 +01:00
mysqlnd_result_meta.h
mysqlnd_reverse_api.c
mysqlnd_reverse_api.h
mysqlnd_statistics.c mysqlnd: change uses of sprintf into snprintf 2024-06-14 08:12:03 -07:00
mysqlnd_statistics.h
mysqlnd_structs.h Skip validity and length calls when the byte cannot be part of a multibyte sequence 2024-03-07 20:27:18 +01:00
mysqlnd_vio.c Add an assertion for certainty 2024-04-21 16:07:40 +02:00
mysqlnd_vio.h
mysqlnd_wireprotocol.c mysqlnd: change uses of sprintf into snprintf 2024-06-14 08:12:03 -07:00
mysqlnd_wireprotocol.h
php_mysqlnd.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
php_mysqlnd.h