Skip to content
Permalink
Browse files
compilation failure on clang 11.1.0
returning NULL (a.k.a. nullptr) from a bool function.

followup for add782a
  • Loading branch information
vuvova committed Jul 30, 2021
1 parent 3b052f8 commit c314fd8
Showing 1 changed file with 1 addition and 1 deletion.
@@ -18426,7 +18426,7 @@ static bool make_json_valid_expr(TABLE *table, Field *field)
Item *expr, *item_field;

if (!table->expr_arena && table->init_expr_arena(thd->mem_root))
return NULL;
return 1;

thd->set_n_backup_active_arena(table->expr_arena, &backup_arena);
if ((item_field= new (thd->mem_root) Item_field(thd, field)) &&

0 comments on commit c314fd8

Please sign in to comment.