From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- flakes/mypackages/overlays/php-packages/mysqli_patch.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 flakes/mypackages/overlays/php-packages/mysqli_patch.patch (limited to 'flakes/mypackages/overlays/php-packages') diff --git a/flakes/mypackages/overlays/php-packages/mysqli_patch.patch b/flakes/mypackages/overlays/php-packages/mysqli_patch.patch new file mode 100644 index 0000000..a8f03e3 --- /dev/null +++ b/flakes/mypackages/overlays/php-packages/mysqli_patch.patch @@ -0,0 +1,11 @@ +--- a/ext/mysqli/mysqli_nonapi.c ++++ b/ext/mysqli/mysqli_nonapi.c +@@ -263,7 +263,7 @@ void mysqli_common_connect(INTERNAL_FUNC + php_mysqli_set_error(mysql_errno(mysql->mysql), (char *) mysql_error(mysql->mysql)); + + #if !defined(MYSQLI_USE_MYSQLND) +- mysql->mysql->reconnect = MyG(reconnect); ++ mysql_options(mysql->mysql, MYSQL_OPT_RECONNECT, (my_bool *)&MyG(reconnect)); + #endif + + mysql_options(mysql->mysql, MYSQL_OPT_LOCAL_INFILE, (char *)&MyG(allow_local_infile)); -- cgit v1.2.3