don't show DBUG_ASSERT to plugins

This commit is contained in:
Sergei Golubchik 2020-10-13 14:24:29 +02:00
parent abc3889f1c
commit 4d0b33958d

View file

@ -150,9 +150,11 @@ public:
explicit time_round_mode_t(ulonglong mode)
:m_mode((value_t) mode)
{
#ifdef MYSQL_SERVER
DBUG_ASSERT(mode == FRAC_NONE ||
mode == FRAC_TRUNCATE ||
mode == FRAC_ROUND);
#endif
}
// Conversion operators
explicit operator ulonglong() const