summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_global_variables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_global_variables.cc')
-rw-r--r--storage/perfschema/table_global_variables.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/perfschema/table_global_variables.cc b/storage/perfschema/table_global_variables.cc
index 6c78a1a2459..4c60f4cdd0a 100644
--- a/storage/perfschema/table_global_variables.cc
+++ b/storage/perfschema/table_global_variables.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2015, 2021, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
@@ -141,7 +141,7 @@ int table_global_variables::rnd_pos(const void *pos)
return HA_ERR_RECORD_DELETED;
set_position(pos);
- DBUG_ASSERT(m_pos.m_index < m_sysvar_cache.size());
+ assert(m_pos.m_index < m_sysvar_cache.size());
const System_variable *system_var= m_sysvar_cache.get(m_pos.m_index);
if (system_var != NULL)
@@ -175,7 +175,7 @@ int table_global_variables
return HA_ERR_RECORD_DELETED;
/* Set the null bits */
- DBUG_ASSERT(table->s->null_bytes == 1);
+ assert(table->s->null_bytes == 1);
buf[0]= 0;
for (; (f= *fields) ; fields++)
@@ -191,7 +191,7 @@ int table_global_variables
m_row.m_variable_value.set_field(f);
break;
default:
- DBUG_ASSERT(false);
+ assert(false);
}
}
}