Browse Source

MDEV-27769 fixup: conditionally define a function

pull/3845/head
Marko Mäkelä 8 months ago
parent
commit
feadfd9d9c
  1. 2
      sql/sql_base.cc

2
sql/sql_base.cc

@ -760,6 +760,7 @@ close_all_tables_for_name(THD *thd, TABLE_SHARE *share,
}
}
#ifdef DBUG_ASSERT_EXISTS
static inline bool check_field_pointers(const TABLE *table)
{
for (Field **pf= table->field; *pf; pf++)
@ -775,6 +776,7 @@ static inline bool check_field_pointers(const TABLE *table)
}
return true;
}
#endif
/*

Loading…
Cancel
Save