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
..
config9.m4 Normalize mysqlnd extension sources (#14654) 2024-06-25 19:33:51 +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
CREDITS
mysql_float_to_double.h Revert GH-10220 2023-01-16 12:27:33 +01:00
mysqlnd_alloc.c Fix potential heap corruption due to alignment mismatch 2022-10-13 11:47:24 +02:00
mysqlnd_alloc.h Implement mysqlnd_set_persistent_string (#7371) 2021-08-20 12:03:46 +01:00
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 Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_block_alloc.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_block_alloc.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
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 Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_connection.c Remove redundant check in mysqlnd_conn_data::connect (#13849) 2024-03-31 16:16:49 +02:00
mysqlnd_connection.h Replace macro with inline function (#7365) 2021-08-13 20:03:26 +01:00
mysqlnd_debug.c Use more compact representation for packed arrays. 2021-11-03 15:18:26 +03:00
mysqlnd_debug.h Fix printf formats in mysql debug logging 2021-06-16 16:09:06 +02:00
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 Mark various functions with void arguments. 2021-05-12 14:55:53 +01:00
mysqlnd_libmysql_compat.h Remove get_parameter_metadata 2021-07-29 14:21:13 +01:00
mysqlnd_loaddata.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_plugin.c Use more compact representation for packed arrays. 2021-11-03 15:18:26 +03:00
mysqlnd_plugin.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
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 Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
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 Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_ps_codec.c [skip ci] Fix various typos and grammar issues (#11143) 2023-04-28 11:05:32 +02:00
mysqlnd_ps.c Remove redundant check in mysqlnd_fetch_stmt_row_cursor (#13850) 2024-03-31 16:16:27 +02:00
mysqlnd_ps.h Mark various functions with void arguments. 2021-05-12 14:55:53 +01:00
mysqlnd_read_buffer.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_read_buffer.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
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 Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_result.c Merge branch 'PHP-8.2' into PHP-8.3 2024-05-17 13:13:18 +02:00
mysqlnd_result.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_reverse_api.c Use more compact representation for packed arrays. 2021-11-03 15:18:26 +03:00
mysqlnd_reverse_api.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_statistics.c mysqlnd: change uses of sprintf into snprintf 2024-06-14 08:12:03 -07:00
mysqlnd_statistics.h Drop mysqlnd statistics triggers 2021-07-29 14:21:13 +01:00
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 Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
mysqlnd_wireprotocol.c mysqlnd: change uses of sprintf into snprintf 2024-06-14 08:12:03 -07:00
mysqlnd_wireprotocol.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02: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
php_mysqlnd.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
php_mysqlnd.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00