summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_status_by_account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_status_by_account.cc')
-rw-r--r--storage/perfschema/table_status_by_account.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/perfschema/table_status_by_account.cc b/storage/perfschema/table_status_by_account.cc
index 6868fab1186..347012bc064 100644
--- a/storage/perfschema/table_status_by_account.cc
+++ b/storage/perfschema/table_status_by_account.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,
@@ -164,7 +164,7 @@ table_status_by_account::rnd_pos(const void *pos)
return HA_ERR_END_OF_FILE;
set_position(pos);
- DBUG_ASSERT(m_pos.m_index_1 < global_account_container.get_row_count());
+ assert(m_pos.m_index_1 < global_account_container.get_row_count());
PFS_account *pfs_account= global_account_container.get(m_pos.m_index_1);
@@ -216,7 +216,7 @@ int table_status_by_account
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_account
m_row.m_variable_value.set_field(f);
break;
default:
- DBUG_ASSERT(false);
+ assert(false);
}
}
}