summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_setup_consumers.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-02-04 14:50:25 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2022-02-04 14:50:25 +0100
commit4fb2cb1a30fc188682ae4dbda2f975213e5c3adf (patch)
tree522b2dc8096cc37ace66686de36b486b73a352f5 /storage/perfschema/table_setup_consumers.cc
parentc0f5fd27549c84607defa64c5b651343dd29e0ee (diff)
parent9ed8deb656d9378fc9c1c7fb12c15674b6323ab0 (diff)
downloadmariadb-git-4fb2cb1a30fc188682ae4dbda2f975213e5c3adf.tar.gz
Merge branch '10.7' into 10.8
Diffstat (limited to 'storage/perfschema/table_setup_consumers.cc')
-rw-r--r--storage/perfschema/table_setup_consumers.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/storage/perfschema/table_setup_consumers.cc b/storage/perfschema/table_setup_consumers.cc
index 02f4dc0009f..88e689b9ff8 100644
--- a/storage/perfschema/table_setup_consumers.cc
+++ b/storage/perfschema/table_setup_consumers.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,
@@ -194,7 +194,7 @@ int table_setup_consumers::rnd_next(void)
int table_setup_consumers::rnd_pos(const void *pos)
{
set_position(pos);
- DBUG_ASSERT(m_pos.m_index < COUNT_SETUP_CONSUMERS);
+ assert(m_pos.m_index < COUNT_SETUP_CONSUMERS);
m_row= &all_setup_consumers_data[m_pos.m_index];
return 0;
}
@@ -206,11 +206,11 @@ int table_setup_consumers::read_row_values(TABLE *table,
{
Field *f;
- DBUG_ASSERT(m_row);
+ assert(m_row);
/* Set the null bits */
- DBUG_ASSERT(table->s->null_bytes == 0);
+ assert(table->s->null_bytes == 0);
for (; (f= *fields) ; fields++)
{
@@ -225,7 +225,7 @@ int table_setup_consumers::read_row_values(TABLE *table,
set_field_enum(f, (*m_row->m_enabled_ptr) ? ENUM_YES : ENUM_NO);
break;
default:
- DBUG_ASSERT(false);
+ assert(false);
}
}
}
@@ -241,7 +241,7 @@ int table_setup_consumers::update_row_values(TABLE *table,
Field *f;
enum_yes_no value;
- DBUG_ASSERT(m_row);
+ assert(m_row);
for (; (f= *fields) ; fields++)
{
@@ -258,7 +258,7 @@ int table_setup_consumers::update_row_values(TABLE *table,
break;
}
default:
- DBUG_ASSERT(false);
+ assert(false);
}
}
}