mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
don't show DBUG_ASSERT to plugins
This commit is contained in:
parent
abc3889f1c
commit
4d0b33958d
1 changed files with 2 additions and 0 deletions
|
@ -150,9 +150,11 @@ public:
|
||||||
explicit time_round_mode_t(ulonglong mode)
|
explicit time_round_mode_t(ulonglong mode)
|
||||||
:m_mode((value_t) mode)
|
:m_mode((value_t) mode)
|
||||||
{
|
{
|
||||||
|
#ifdef MYSQL_SERVER
|
||||||
DBUG_ASSERT(mode == FRAC_NONE ||
|
DBUG_ASSERT(mode == FRAC_NONE ||
|
||||||
mode == FRAC_TRUNCATE ||
|
mode == FRAC_TRUNCATE ||
|
||||||
mode == FRAC_ROUND);
|
mode == FRAC_ROUND);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
// Conversion operators
|
// Conversion operators
|
||||||
explicit operator ulonglong() const
|
explicit operator ulonglong() const
|
||||||
|
|
Loading…
Add table
Reference in a new issue