summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_setup_objects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_setup_objects.cc')
-rw-r--r--storage/perfschema/table_setup_objects.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/storage/perfschema/table_setup_objects.cc b/storage/perfschema/table_setup_objects.cc
index 41551617a99..b71d3b7afa9 100644
--- a/storage/perfschema/table_setup_objects.cc
+++ b/storage/perfschema/table_setup_objects.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2008, 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,
@@ -113,7 +113,7 @@ int table_setup_objects::write_row(TABLE *table, const unsigned char *buf,
timed_value= (enum_yes_no) get_field_enum(f);
break;
default:
- DBUG_ASSERT(false);
+ assert(false);
}
}
}
@@ -230,7 +230,7 @@ int table_setup_objects::read_row_values(TABLE *table,
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++)
@@ -263,7 +263,7 @@ int table_setup_objects::read_row_values(TABLE *table,
set_field_enum(f, (*m_row.m_timed_ptr) ? ENUM_YES : ENUM_NO);
break;
default:
- DBUG_ASSERT(false);
+ assert(false);
}
}
}
@@ -305,7 +305,7 @@ int table_setup_objects::update_row_values(TABLE *table,
*m_row.m_timed_ptr= (value == ENUM_YES) ? true : false;
break;
default:
- DBUG_ASSERT(false);
+ assert(false);
}
}
}
@@ -318,7 +318,7 @@ int table_setup_objects::delete_row_values(TABLE *table,
const unsigned char *buf,
Field **fields)
{
- DBUG_ASSERT(m_row_exists);
+ assert(m_row_exists);
CHARSET_INFO *cs= &my_charset_utf8mb3_bin;
enum_object_type object_type= OBJECT_TYPE_TABLE;