summaryrefslogtreecommitdiff
path: root/sql/mdl.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-02-26 13:12:01 +0400
committerSergey Vojtovich <svoj@mariadb.org>2015-03-04 13:34:52 +0400
commitecd3ff9f24d8cf0c51ad564d9c8b335299dcdd9e (patch)
tree14b049efda8a35ef679630781d7cbe74632d66cb /sql/mdl.h
parent903160ef5937daab0b13c534e0704be428efb0f0 (diff)
downloadmariadb-git-ecd3ff9f24d8cf0c51ad564d9c8b335299dcdd9e.tar.gz
MDEV-6089 - MySQL WL#7305 "Improve MDL scalability by using lock-free hash"
Removed MDL map partitions. Won't be needed when this MDEV is implemented.
Diffstat (limited to 'sql/mdl.h')
-rw-r--r--sql/mdl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/mdl.h b/sql/mdl.h
index 0eb8ebd0008..ee1c418eb74 100644
--- a/sql/mdl.h
+++ b/sql/mdl.h
@@ -982,14 +982,6 @@ extern "C" int thd_is_connected(MYSQL_THD thd);
/*
- Start-up parameter for the number of partitions of the hash
- containing all the MDL_lock objects and a constant for
- its default value.
-*/
-extern ulong mdl_locks_hash_partitions;
-static const ulong MDL_LOCKS_HASH_PARTITIONS_DEFAULT = 8;
-
-/*
Metadata locking subsystem tries not to grant more than
max_write_lock_count high-prio, strong locks successively,
to avoid starving out weak, low-prio locks.