Commit 9be381b7 authored by Razvan Becheriu's avatar Razvan Becheriu Committed by Tomek Mrugalski

[#1071] static assert if sizeof(bool) is not 1

parent 1e40f7d3
......@@ -27,6 +27,9 @@ const my_bool MLM_FALSE = 0;
const my_bool MLM_TRUE = 1;
#else
///@brief check for bool size
static_assert(sizeof(bool) == 1, "unsupported bool size");
/// @brief my_bool type in MySQL 8.x.
typedef bool my_bool;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment