Commit 4d0b3395 authored by Sergei Golubchik's avatar Sergei Golubchik

don't show DBUG_ASSERT to plugins

parent abc3889f
......@@ -150,9 +150,11 @@ class time_round_mode_t
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
......
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