summaryrefslogtreecommitdiff
path: root/storage/myisam/myisamdef.h
diff options
context:
space:
mode:
authorguilhem@gbichot4.local <>2008-02-18 23:29:39 +0100
committerguilhem@gbichot4.local <>2008-02-18 23:29:39 +0100
commit9e2b31b0268a05a94032ba96c0830536ce983685 (patch)
tree7bffd7a5bcb1eea8fb0183e3a4e3a40cf6a783a6 /storage/myisam/myisamdef.h
parentccd53222d61d25ae2702d87a3b617a1f835eedc7 (diff)
downloadmariadb-git-9e2b31b0268a05a94032ba96c0830536ce983685.tar.gz
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).
Diffstat (limited to 'storage/myisam/myisamdef.h')
-rw-r--r--storage/myisam/myisamdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/myisamdef.h b/storage/myisam/myisamdef.h
index 721d6b9f271..c1e1f39d77c 100644
--- a/storage/myisam/myisamdef.h
+++ b/storage/myisam/myisamdef.h
@@ -493,7 +493,7 @@ typedef struct st_mi_s_param
totlength,
part_of_prev_key,prev_length,pack_marker;
uchar *key, *prev_key,*next_key_pos;
- bool store_not_null;
+ my_bool store_not_null;
} MI_KEY_PARAM;
/* Prototypes for intern functions */