From 9466cf8a68d27bfb387a31dab4772074540330c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20M=C3=AD=C5=A1ek?= Date: Mon, 3 Oct 2022 13:48:30 +0200 Subject: [PATCH] define MYSQLI_REPORT_OFF workaround --- PeachPied.WordPress.Standard/WpStandard.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PeachPied.WordPress.Standard/WpStandard.cs b/PeachPied.WordPress.Standard/WpStandard.cs index 30b03ee8c..344a40c95 100644 --- a/PeachPied.WordPress.Standard/WpStandard.cs +++ b/PeachPied.WordPress.Standard/WpStandard.cs @@ -81,6 +81,11 @@ public static class WpStandard /// public const int MYSQL_CLIENT_FLAGS = 2048; // MYSQL_CLIENT_SSL + /// + /// MySqli flag (not defined yet in PeachPie, so we'll define it here). + /// + public const int MYSQLI_REPORT_OFF = 0; + /// /// WordPress root path including the trailing slash. Always "/" at the end. ///