From 9e2b31b0268a05a94032ba96c0830536ce983685 Mon Sep 17 00:00:00 2001 From: "guilhem@gbichot4.local" <> Date: Mon, 18 Feb 2008 23:29:39 +0100 Subject: Fix for server bug experienced in Maria (wrong "Truncated incorrect value" error even though the value was correct): a C function in my_getopt.c was taking bool* in parameter and was called from C++ sql_plugin.cc, but on some Mac OS X sizeof(bool) is 1 in C and 4 in C++, giving funny mismatches. Fixed, all other occurences of bool in C are removed, future ones are blocked by a "C-bool-catcher" in my_global.h (use my_bool). --- vio/viosslfactories.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vio') diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c index d7e4f380bc1..9ffe600beb8 100644 --- a/vio/viosslfactories.c +++ b/vio/viosslfactories.c @@ -17,8 +17,8 @@ #ifdef HAVE_OPENSSL -static bool ssl_algorithms_added = FALSE; -static bool ssl_error_strings_loaded= FALSE; +static my_bool ssl_algorithms_added = FALSE; +static my_bool ssl_error_strings_loaded= FALSE; static int verify_depth = 0; static unsigned char dh512_p[]= -- cgit v1.2.1