mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-07 17:35:18 +00:00
[354-compilation-with-mysql-fails-on-fedora-29] Solved other issues
This commit is contained in:
@@ -17,6 +17,9 @@ namespace db {
|
||||
//@{
|
||||
|
||||
#ifdef HAVE_MYSQL_MY_BOOL
|
||||
/// @brief my_bools type for vectors.
|
||||
typedef my_bool my_bools;
|
||||
|
||||
/// @brief MySQL false value.
|
||||
const my_bool MLM_FALSE = 0;
|
||||
|
||||
@@ -24,9 +27,13 @@ const my_bool MLM_FALSE = 0;
|
||||
const my_bool MLM_TRUE = 1;
|
||||
|
||||
#else
|
||||
/// @brief my_bool type for MySQL 8.x.
|
||||
/// @brief my_bool type in MySQL 8.x.
|
||||
typedef bool my_bool;
|
||||
|
||||
/// @brief my_bools type for vectors in MySQL 8.x.
|
||||
/// @note vector<my_bool> is specialized into a bitset.
|
||||
typedef char my_bools;
|
||||
|
||||
/// @brief MySQL false value.
|
||||
const my_bool MLM_FALSE = false;
|
||||
|
||||
|
Reference in New Issue
Block a user