summaryrefslogtreecommitdiff
path: root/sql/hash_filo.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-08-01 17:27:34 +0300
committerMichael Widenius <monty@askmonty.org>2012-08-01 17:27:34 +0300
commit1d0f70c2f894b27e98773a282871d32802f67964 (patch)
tree833e683e0ced29c4323c29a9d845703d4dfcd81b /sql/hash_filo.h
parent5a86a61219826aadf8d08cbc447fe438f2bf50c3 (diff)
downloadmariadb-git-1d0f70c2f894b27e98773a282871d32802f67964.tar.gz
Temporary commit of merge of MariaDB 10.0-base and MySQL 5.6
Diffstat (limited to 'sql/hash_filo.h')
-rw-r--r--sql/hash_filo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/hash_filo.h b/sql/hash_filo.h
index dab54928a55..b6068348d1d 100644
--- a/sql/hash_filo.h
+++ b/sql/hash_filo.h
@@ -32,9 +32,15 @@
class hash_filo_element
{
+private:
hash_filo_element *next_used,*prev_used;
public:
hash_filo_element() {}
+ hash_filo_element *next()
+ { return next_used; }
+ hash_filo_element *prev()
+ { return prev_used; }
+
friend class hash_filo;
};