summaryrefslogtreecommitdiff
path: root/strings/strings_def.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2014-09-12 14:45:11 +0300
committerMichael Widenius <monty@mariadb.org>2014-09-12 14:45:11 +0300
commit9276e0e911d0e061f81ec1f43aa4c31396d8ad4a (patch)
tree7accef3fc5959531b1a9d662511711f0f56feb0f /strings/strings_def.h
parent6a576f1a581b75ac86d85c1aa80c3386f8a55cd3 (diff)
downloadmariadb-git-9276e0e911d0e061f81ec1f43aa4c31396d8ad4a.tar.gz
Cleanup of my_hash_sort patch
strings/ctype-uca.c: HASH needs to be done in opposite order to preserve partitioned tables
Diffstat (limited to 'strings/strings_def.h')
-rw-r--r--strings/strings_def.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/strings/strings_def.h b/strings/strings_def.h
index d601f5ca697..fb280b6bb6b 100644
--- a/strings/strings_def.h
+++ b/strings/strings_def.h
@@ -109,11 +109,4 @@ static inline const uchar *skip_trailing_space(const uchar *ptr,size_t len)
#define MY_HASH_ADD_16(A, B, value) \
do { MY_HASH_ADD(A, B, ((value) & 0xFF)) ; MY_HASH_ADD(A, B, ((value >>8 ))); } while(0)
-/*
- This one is needed to ensure we get the exact same hash as MariaDB 5.1
- This is needed to ensure that old partitioned tables still work as before.
-*/
-#define MY_HASH_ADD_16_INV(A, B, value) \
- do { MY_HASH_ADD(A, B, ((value >> 8))) ; MY_HASH_ADD(A, B, ((value & 0xFF ))); } while(0)
-
#endif