mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge 10.3 into 10.4
This commit is contained in:
commit
972dc6ee98
22 changed files with 234 additions and 254 deletions
|
|
@ -893,19 +893,6 @@ inline ulint dict_tf_get_zip_size(ulint flags)
|
|||
: 0;
|
||||
}
|
||||
|
||||
/** Determine the extent size (in pages) for the given table
|
||||
@param[in] table the table whose extent size is being
|
||||
calculated.
|
||||
@return extent size in pages (256, 128 or 64) */
|
||||
inline ulint dict_table_extent_size(const dict_table_t* table)
|
||||
{
|
||||
if (ulint zip_size = table->space->zip_size()) {
|
||||
return (1ULL << 20) / zip_size;
|
||||
}
|
||||
|
||||
return FSP_EXTENT_SIZE;
|
||||
}
|
||||
|
||||
/********************************************************************//**
|
||||
Checks if a column is in the ordering columns of the clustered index of a
|
||||
table. Column prefixes are treated like whole columns.
|
||||
|
|
@ -1788,20 +1775,6 @@ UNIV_INTERN
|
|||
ulint
|
||||
dict_sys_get_size();
|
||||
|
||||
/** Look for any dictionary objects that are found in the given tablespace.
|
||||
@param[in] space_id Tablespace ID to search for.
|
||||
@return true if tablespace is empty. */
|
||||
bool
|
||||
dict_space_is_empty(
|
||||
ulint space_id);
|
||||
|
||||
/** Find the space_id for the given name in sys_tablespaces.
|
||||
@param[in] name Tablespace name to search for.
|
||||
@return the tablespace ID. */
|
||||
ulint
|
||||
dict_space_get_id(
|
||||
const char* name);
|
||||
|
||||
/** Free the virtual column template
|
||||
@param[in,out] vc_templ virtual column template */
|
||||
UNIV_INLINE
|
||||
|
|
|
|||
|
|
@ -331,19 +331,11 @@ insert buffer. If the page is not read, but created in the buffer pool, this
|
|||
function deletes its buffered entries from the insert buffer; there can
|
||||
exist entries for such a page if the page belonged to an index which
|
||||
subsequently was dropped.
|
||||
@param[in,out] block if page has been read from disk,
|
||||
pointer to the page x-latched, else NULL
|
||||
@param[in] page_id page id of the index page
|
||||
@param[in] zip_size ROW_FORMAT=COMPRESSED page size, or 0
|
||||
@param[in] update_ibuf_bitmap normally this is set, but
|
||||
if we have deleted or are deleting the tablespace, then we naturally do not
|
||||
want to update a non-existent bitmap page */
|
||||
void
|
||||
ibuf_merge_or_delete_for_page(
|
||||
buf_block_t* block,
|
||||
const page_id_t page_id,
|
||||
ulint zip_size,
|
||||
bool update_ibuf_bitmap);
|
||||
@param block X-latched page to try to apply changes to, or NULL to discard
|
||||
@param page_id page identifier
|
||||
@param zip_size ROW_FORMAT=COMPRESSED page size, or 0 */
|
||||
void ibuf_merge_or_delete_for_page(buf_block_t *block, const page_id_t page_id,
|
||||
ulint zip_size);
|
||||
|
||||
/** Delete all change buffer entries for a tablespace,
|
||||
in DISCARD TABLESPACE, IMPORT TABLESPACE, or crash recovery.
|
||||
|
|
|
|||
|
|
@ -1012,20 +1012,6 @@ private:
|
|||
during bulk create index */
|
||||
FlushObserver* flush_observer;
|
||||
public:
|
||||
/* Lock wait statistics */
|
||||
ulint n_rec_lock_waits;
|
||||
/*!< Number of record lock waits,
|
||||
might not be exactly correct. */
|
||||
ulint n_table_lock_waits;
|
||||
/*!< Number of table lock waits,
|
||||
might not be exactly correct. */
|
||||
ulint total_rec_lock_wait_time;
|
||||
/*!< Total rec lock wait time up
|
||||
to this moment. */
|
||||
ulint total_table_lock_wait_time;
|
||||
/*!< Total table lock wait time
|
||||
up to this moment. */
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
os_event_t wsrep_event; /* event waited for in srv_conc_slot */
|
||||
#endif /* WITH_WSREP */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue