summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot4.local>2008-02-19 00:00:58 +0100
committerunknown <guilhem@gbichot4.local>2008-02-19 00:00:58 +0100
commit0ab7c2f3a834ea3fd6e0f1b1b2da511c4e0e97f2 (patch)
treea1a8c21e5474b1f95b6b21530ade595853f81767 /dbug
parent34fff04d033e042ee89f7ffcd326285e59495c6a (diff)
downloadmariadb-git-0ab7c2f3a834ea3fd6e0f1b1b2da511c4e0e97f2.tar.gz
Merge from 5.1-build of the "my_bool for C" changeset.
Removing "#define bool BOOL" as it's dangerous. include/config-win.h: This #define was confusing: a) it changes the semantics of bool but only on Windows (C++ standard says that casting int to bool to int yields 0 or 1, but if using BOOL (which is int) this breaks, see old BUG 11567 "Variable 'foreign_key_checks', and other variables, differs binlog tests") b) it is not needed in C++ which has a bool type c) it is not needed in C where we must use my_bool as bool either does not exist or changes size between C and C++. storage/maria/ma_check.c: my_bool for C storage/maria/ma_dynrec.c: my_bool for C storage/maria/ma_search.c: my_bool for C storage/maria/ma_write.c: my_bool for C storage/maria/maria_def.h: my_bool for C storage/maria/maria_pack.c: my_bool for C
Diffstat (limited to 'dbug')
0 files changed, 0 insertions, 0 deletions