mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
branches/zip: fseg_validate(): Enclose in #ifdef UNIV_DEBUG.
This function is unused, but it could turn out to be a useful debugging aid.
This commit is contained in:
parent
a300e54652
commit
613d263a24
2 changed files with 5 additions and 1 deletions
|
@ -3721,6 +3721,7 @@ fseg_validate_low(
|
|||
return(TRUE);
|
||||
}
|
||||
|
||||
#ifdef UNIV_DEBUG
|
||||
/*******************************************************************//**
|
||||
Validates a segment.
|
||||
@return TRUE if ok */
|
||||
|
@ -3748,6 +3749,7 @@ fseg_validate(
|
|||
|
||||
return(ret);
|
||||
}
|
||||
#endif /* UNIV_DEBUG */
|
||||
|
||||
/*******************************************************************//**
|
||||
Writes info of a segment. */
|
||||
|
|
|
@ -330,6 +330,7 @@ void
|
|||
fsp_print(
|
||||
/*======*/
|
||||
ulint space); /*!< in: space id */
|
||||
#ifdef UNIV_DEBUG
|
||||
/*******************************************************************//**
|
||||
Validates a segment.
|
||||
@return TRUE if ok */
|
||||
|
@ -338,7 +339,8 @@ ibool
|
|||
fseg_validate(
|
||||
/*==========*/
|
||||
fseg_header_t* header, /*!< in: segment header */
|
||||
mtr_t* mtr2); /*!< in: mtr */
|
||||
mtr_t* mtr); /*!< in: mtr */
|
||||
#endif /* UNIV_DEBUG */
|
||||
#ifdef UNIV_BTR_PRINT
|
||||
/*******************************************************************//**
|
||||
Writes info of a segment. */
|
||||
|
|
Loading…
Reference in a new issue