mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
Remove unnecessary assert
Approved by: Heikki, over IM
This commit is contained in:
parent
f3d875b2b8
commit
4c7b3cb739
1 changed files with 0 additions and 9 deletions
|
@ -175,20 +175,11 @@ ut_fold_string(
|
|||
/* out: folded value */
|
||||
const char* str) /* in: null-terminated string */
|
||||
{
|
||||
#ifdef UNIV_DEBUG
|
||||
ulint i = 0;
|
||||
#endif
|
||||
ulint fold = 0;
|
||||
|
||||
ut_ad(str);
|
||||
|
||||
while (*str != '\0') {
|
||||
|
||||
#ifdef UNIV_DEBUG
|
||||
i++;
|
||||
ut_a(i < 100);
|
||||
#endif
|
||||
|
||||
fold = ut_fold_ulint_pair(fold, (ulint)(*str));
|
||||
str++;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue