summaryrefslogtreecommitdiff
path: root/innobase/btr
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-07-05 12:10:20 +0300
committerunknown <marko@hundin.mysql.fi>2005-07-05 12:10:20 +0300
commit48db5c8ffc5db5fe7da0e56ec04618229ba5a38e (patch)
treef9b9332f6f728a035173f47a0eb7e86e8474a4a5 /innobase/btr
parent8226e5fcbd97e101b1ff464bc207df7d2abecf4d (diff)
downloadmariadb-git-48db5c8ffc5db5fe7da0e56ec04618229ba5a38e.tar.gz
InnoDB: Fix compile-pentium-debug-max compilation problem.
innobase/btr/btr0cur.c: Move #ifdef outside ut_ad() argument. innobase/page/page0cur.c: Move #ifdef outside ut_ad() argument.
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;
}