summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorunknown <psergey@psergey.(none)>2003-11-13 17:52:02 +0300
committerunknown <psergey@psergey.(none)>2003-11-13 17:52:02 +0300
commit6e464cc06d8340cb5f0f26fd6894301eef55af1f (patch)
treedece10da0db22949b7cc68196bc7d0c25bbafcf5 /sql/sql_list.h
parente515e4dc46d4ebc5902cbb98f5be3a5ee1f4625d (diff)
downloadmariadb-git-6e464cc06d8340cb5f0f26fd6894301eef55af1f.tar.gz
Added index_merge access method
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r--sql/sql_list.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h
index 7200046e6c5..2f0425f1ddc 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -135,6 +135,12 @@ public:
last= &first;
return tmp->info;
}
+ inline void concat(base_list *list)
+ {
+ *last= list->first;
+ last= list->last;
+ elements+= list->elements;
+ }
inline list_node* last_node() { return *last; }
inline list_node* first_node() { return first;}
inline void *head() { return first->info; }
@@ -255,6 +261,7 @@ public:
}
empty();
}
+ inline void concat(List<T> *list) { base_list::concat(list); }
};