mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-21201 fixup: GCC 10.2.0 -Wparentheses
An assertion inadvertently contained an assignment and an implicit comparison to zero. The intention was to test equality.
This commit is contained in:
parent
dee6902922
commit
1e778a3b56
1 changed files with 2 additions and 1 deletions
|
@ -8688,7 +8688,8 @@ static int optimize_schema_tables_memory_usage(TABLE_LIST *table_list)
|
|||
{
|
||||
Field *field= table->field[i];
|
||||
DBUG_ASSERT(field->vcol_info == 0);
|
||||
DBUG_ASSERT(from_recinfo->length= field->pack_length_in_rec());
|
||||
DBUG_ASSERT(from_recinfo->length);
|
||||
DBUG_ASSERT(from_recinfo->length == field->pack_length_in_rec());
|
||||
if (bitmap_is_set(table->read_set, i))
|
||||
{
|
||||
field->move_field(cur);
|
||||
|
|
Loading…
Reference in a new issue