diff options
author | Monty <monty@mariadb.org> | 2016-06-24 02:25:14 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-06-24 02:25:14 +0300 |
commit | 4dc50758603d6ed2891412fdb6d37cd8b5541999 (patch) | |
tree | c31def9d565271ff6ca10ec9c15433a12e91bba6 /sql/mdl.cc | |
parent | ec38c7e60bf8dbe54b1551e75254337bec1993a4 (diff) | |
download | mariadb-git-4dc50758603d6ed2891412fdb6d37cd8b5541999.tar.gz |
Fixed compiler warnings and test failures found by buildbot
Fixed ccfilter to detect errors where the column is included in the error message
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r-- | sql/mdl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc index 61591ec9f57..cb616c30b1e 100644 --- a/sql/mdl.cc +++ b/sql/mdl.cc @@ -669,7 +669,7 @@ int mdl_iterate(int (*callback)(MDL_ticket *ticket, void *arg), void *arg) my_hash_value_type mdl_hash_function(CHARSET_INFO *cs, const uchar *key, size_t length) { - MDL_key *mdl_key= (MDL_key*) (key - offsetof(MDL_key, m_ptr)); + MDL_key *mdl_key= (MDL_key*) (key - my_offsetof(MDL_key, m_ptr)); return mdl_key->hash_value(); } |