123
/*******************************************************************//**
124
Check if there are any locks (table or rec) against table.
125
@return TRUE if table has either table or record locks. */
128
lock_table_has_locks(
129
/*=================*/
130
const dict_table_t* table) /*!< in: check if there are any locks
131
held on records in this table or on the
134
return(UT_LIST_GET_LEN(table->locks) > 0);