Merge 10.5 into 10.6

This commit is contained in:
Marko Mäkelä 2024-06-13 19:58:11 +03:00
commit 32202c30bc

View file

@ -89,9 +89,9 @@ print_where(COND *cond,const char *info, enum_query_type query_type)
#ifdef EXTRA_DEBUG
/* This is for debugging purposes */
static my_bool print_cached_tables_callback(TDC_element *element,
void *arg __attribute__((unused)))
static my_bool print_cached_tables_callback(void *el, void*)
{
TDC_element *element= static_cast<TDC_element*>(el);
TABLE *entry;
mysql_mutex_lock(&element->LOCK_table_share);