summaryrefslogtreecommitdiff
path: root/innobase/btr
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2005-07-05 12:10:20 +0300
committermarko@hundin.mysql.fi <>2005-07-05 12:10:20 +0300
commit3760b8acfea7e5458d2830e3944168920a88841c (patch)
treef9b9332f6f728a035173f47a0eb7e86e8474a4a5 /innobase/btr
parent951eff421372ea6fcb264c99bd6c5ab264c37009 (diff)
downloadmariadb-git-3760b8acfea7e5458d2830e3944168920a88841c.tar.gz
InnoDB: Fix compile-pentium-debug-max compilation problem.
Diffstat (limited to 'innobase/btr')
-rw-r--r--innobase/btr/btr0cur.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/innobase/btr/btr0cur.c b/innobase/btr/btr0cur.c
index d76b139c3c8..f81cce5b8e9 100644
--- a/innobase/btr/btr0cur.c
+++ b/innobase/btr/btr0cur.c
@@ -392,11 +392,12 @@ btr_cur_search_to_nth_level(
page_mode = PAGE_CUR_LE;
break;
default:
- ut_ad(mode == PAGE_CUR_L
#ifdef PAGE_CUR_LE_OR_EXTENDS
- || mode == PAGE_CUR_LE_OR_EXTENDS
+ ut_ad(mode == PAGE_CUR_L || mode == PAGE_CUR_LE
+ || mode == PAGE_CUR_LE_OR_EXTENDS);
+#else /* PAGE_CUR_LE_OR_EXTENDS */
+ ut_ad(mode == PAGE_CUR_L || mode == PAGE_CUR_LE);
#endif /* PAGE_CUR_LE_OR_EXTENDS */
- || mode == PAGE_CUR_LE);
page_mode = mode;
break;
}