summaryrefslogtreecommitdiff
path: root/sql/sql_plist.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_plist.h')
-rw-r--r--sql/sql_plist.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/sql_plist.h b/sql/sql_plist.h
index bb9889cc534..4d279af7a0d 100644
--- a/sql/sql_plist.h
+++ b/sql/sql_plist.h
@@ -184,7 +184,12 @@ public:
list= &a;
current= a.m_first;
}
- /* Operator for it++ */
+ /**
+ Operator for it++
+
+ @note since we save next element pointer, caller may remove current element.
+ Such modification doesn't invalidate iterator.
+ */
inline T* operator++(int)
{
T *result= current;