summaryrefslogtreecommitdiff
path: root/lang/php83/files/patch-ext_mysqli_mysqli__nonapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php83/files/patch-ext_mysqli_mysqli__nonapi.c')
-rw-r--r--lang/php83/files/patch-ext_mysqli_mysqli__nonapi.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/php83/files/patch-ext_mysqli_mysqli__nonapi.c b/lang/php83/files/patch-ext_mysqli_mysqli__nonapi.c
new file mode 100644
index 000000000000..83d0d8dfc8cb
--- /dev/null
+++ b/lang/php83/files/patch-ext_mysqli_mysqli__nonapi.c
@@ -0,0 +1,12 @@
+--- ext/mysqli/mysqli_nonapi.c.orig 2022-08-02 13:57:03 UTC
++++ ext/mysqli/mysqli_nonapi.c
+@@ -26,7 +26,9 @@
+ #include "php_ini.h"
+ #include "ext/standard/info.h"
+ #include "zend_smart_str.h"
++#if defined(MYSQLI_USE_MYSQLND)
+ #include "php_mysqli_structs.h"
++#endif
+ #include "mysqli_priv.h"
+ #define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num))
+