Currently we do a full validation of AHI whenever check tables is

called on any table. This patch fixes this by only doing this full
check in debug versions.

bug#55716
rb://423
approved by: Marko
This commit is contained in:
Inaam Rana 2010-08-05 11:09:05 -04:00
commit b4a25f462e
4 changed files with 10 additions and 0 deletions

View file

@ -1746,6 +1746,7 @@ function_exit:
}
}
#if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
/********************************************************************//**
Validates the search system.
@return TRUE if ok */
@ -1913,3 +1914,4 @@ btr_search_validate(void)
return(ok);
}
#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */