diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-02-16 18:56:10 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-02-16 18:56:10 +0400 |
commit | e98e05da7a0f817849529dfaf89e9b8010b16f4e (patch) | |
tree | 77e17bf86e2d64701770faf0f7edc0dcc7b5f45a /sql/sql_list.h | |
parent | 607aab9c1d68a3b80bdb52a6c73fd6be1aa52764 (diff) | |
download | mariadb-git-e98e05da7a0f817849529dfaf89e9b8010b16f4e.tar.gz |
Added comments
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r-- | sql/sql_list.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h index 873a8656ebe..adedd9a3a4d 100644 --- a/sql/sql_list.h +++ b/sql/sql_list.h @@ -257,7 +257,12 @@ public: last= &first; return tmp->info; } - inline void disjoin(base_list *list) + /* + Remove from this list elements that are contained in the passed list. + We assume that the passed list is a tail of this list (that is, the whole + list_node* elements are shared). + */ + inline void disjoin(const base_list *list) { list_node **prev= &first; list_node *node= first; |