Skip to content

Commit

Permalink
Fix GCC 5.3.1 -Wsign-compare
Browse files Browse the repository at this point in the history
This fixes up commit 57c526f
  • Loading branch information
dr-m committed Mar 6, 2023
1 parent 6d92336 commit 948fb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/sql_select.cc
Expand Up @@ -19088,8 +19088,8 @@ bool Create_tmp_table::add_fields(THD *thd,
table->field[fieldnr]= 0; // End marker
share->blob_field[m_blob_count]= 0; // End marker
copy_func[0]= 0; // End marker
DBUG_ASSERT((copy_func - param->items_to_copy) <= param->copy_func_count);
param->func_count= (uint) (copy_func - param->items_to_copy);
DBUG_ASSERT(param->func_count <= param->copy_func_count);

share->column_bitmap_size= bitmap_buffer_size(share->fields);

Expand Down

0 comments on commit 948fb3c

Please sign in to comment.