mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 09:04:29 +02:00
Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name>
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).
This commit is contained in:
parent
ccd53222d6
commit
9e2b31b026
28 changed files with 82 additions and 78 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include <m_string.h>
|
||||
#include "cclass.h"
|
||||
|
||||
static bool regex_inited=0;
|
||||
static my_bool regex_inited=0;
|
||||
|
||||
void my_regex_init(CHARSET_INFO *cs)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue