summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorosku@127.(none) <>2005-09-16 15:33:38 +0300
committerosku@127.(none) <>2005-09-16 15:33:38 +0300
commitf4a6d644ba50965737028b6a8c73a22229fb292c (patch)
tree6035ac9104642b829ca1306be10c81fc120dd00a /innobase
parentc5ff0d6953dae02c666d1b730392aa6169b76852 (diff)
downloadmariadb-git-f4a6d644ba50965737028b6a8c73a22229fb292c.tar.gz
InnoDB: Remove unused #defines BTR_PAGE_MAX_KEY_SIZE and BTR_COMPRESS_LIMIT.
Diffstat (limited to 'innobase')
-rw-r--r--innobase/include/btr0btr.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/innobase/include/btr0btr.h b/innobase/include/btr0btr.h
index 1f3a32fa70c..d28b0b129a1 100644
--- a/innobase/include/btr0btr.h
+++ b/innobase/include/btr0btr.h
@@ -23,16 +23,6 @@ special big record storage structure */
#define BTR_PAGE_MAX_REC_SIZE (UNIV_PAGE_SIZE / 2 - 200)
-/* Maximum key size in a B-tree: the records on non-leaf levels must be
-shorter than this */
-
-#define BTR_PAGE_MAX_KEY_SIZE 1024
-
-/* If data in page drops below this limit, we try to compress it.
-NOTE! The value has to be > 2 * BTR_MAX_KEY_SIZE */
-
-#define BTR_COMPRESS_LIMIT (UNIV_PAGE_SIZE / 4 + 1);
-
/* Latching modes for the search function (in btr0cur.*) */
#define BTR_SEARCH_LEAF RW_S_LATCH
#define BTR_MODIFY_LEAF RW_X_LATCH