summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_status_by_user.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_status_by_user.cc')
-rw-r--r--storage/perfschema/table_status_by_user.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/perfschema/table_status_by_user.cc b/storage/perfschema/table_status_by_user.cc
index fb9324bebe7..84f81402e1c 100644
--- a/storage/perfschema/table_status_by_user.cc
+++ b/storage/perfschema/table_status_by_user.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015, 2016, 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,
@@ -165,7 +165,7 @@ table_status_by_user::rnd_pos(const void *pos)
return HA_ERR_END_OF_FILE;
set_position(pos);
- DBUG_ASSERT(m_pos.m_index_1 < global_user_container.get_row_count());
+ assert(m_pos.m_index_1 < global_user_container.get_row_count());
PFS_user *pfs_user= global_user_container.get(m_pos.m_index_1);
@@ -217,7 +217,7 @@ int table_status_by_user
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++)
@@ -236,7 +236,7 @@ int table_status_by_user
m_row.m_variable_value.set_field(f);
break;
default:
- DBUG_ASSERT(false);
+ assert(false);
}
}
}