summaryrefslogtreecommitdiff
path: root/innobase/include
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2005-07-04 16:12:08 +0300
committermarko@hundin.mysql.fi <>2005-07-04 16:12:08 +0300
commit774916a902fd33a0d1260e9dd5dc9ecd181a8703 (patch)
tree29e8f1f9ee7807b8870a57f344abc3178c977c92 /innobase/include
parent5b8683db74444e14c54a2d3c110415debf63b936 (diff)
parent4eba9892902530c37da7f5c864fef98ce7cdc119 (diff)
downloadmariadb-git-774916a902fd33a0d1260e9dd5dc9ecd181a8703.tar.gz
Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0
into hundin.mysql.fi:/home/marko/mysql-5.0-current
Diffstat (limited to 'innobase/include')
-rw-r--r--innobase/include/page0cur.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/innobase/include/page0cur.h b/innobase/include/page0cur.h
index e89e740e775..b03302b0e77 100644
--- a/innobase/include/page0cur.h
+++ b/innobase/include/page0cur.h
@@ -26,11 +26,13 @@ Created 10/4/1994 Heikki Tuuri
#define PAGE_CUR_GE 2
#define PAGE_CUR_L 3
#define PAGE_CUR_LE 4
-#define PAGE_CUR_LE_OR_EXTENDS 5 /* This is a search mode used in
+/*#define PAGE_CUR_LE_OR_EXTENDS 5*/ /* This is a search mode used in
"column LIKE 'abc%' ORDER BY column DESC";
we have to find strings which are <= 'abc' or
which extend it */
-#define PAGE_CUR_DBG 6
+#ifdef UNIV_SEARCH_DEBUG
+# define PAGE_CUR_DBG 6 /* As PAGE_CUR_LE, but skips search shortcut */
+#endif /* UNIV_SEARCH_DEBUG */
#ifdef PAGE_CUR_ADAPT
# ifdef UNIV_SEARCH_PERF_STAT