summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <malff/marcsql@weblab.(none)>2007-02-01 09:37:04 -0700
committerunknown <malff/marcsql@weblab.(none)>2007-02-01 09:37:04 -0700
commit130769845aabe658763e6e24b2f3e16ef7b62a3b (patch)
treea0930c1cb44e206566a1f48731b107678ff9504e /sql/item_subselect.h
parent6560c2aa040453084fbc841de1a842580767f30e (diff)
parentf65038bd67576e1b53fe99db092431f7fbdc2c41 (diff)
downloadmariadb-git-130769845aabe658763e6e24b2f3e16ef7b62a3b.tar.gz
Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-21904_b
into weblab.(none):/home/marcsql/TREE/mysql-5.1-21904_b-merge mysql-test/r/subselect.result: Auto merged mysql-test/t/subselect.test: Auto merged sql/item_subselect.cc: Auto merged sql/item_subselect.h: Auto merged sql/sql_cache.cc: Auto merged sql/sql_yacc.yy: Auto merged
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 819990b55d3..877197385e5 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -180,7 +180,11 @@ public:
rewriting, mandated by a SQL:2003 exception in the specification.
The only caller of this method is handle_sql2003_note184_exception(),
see the code there for more details.
- Do not call this method for other purposes.
+ Note that this method breaks the object internal integrity, by
+ removing it's association with the corresponding SELECT_LEX,
+ making this object orphan from the parse tree.
+ No other method, beside the destructor, should be called on this
+ object, as it is now invalid.
@return the SELECT_LEX structure that was given in the constructor.
*/
st_select_lex* invalidate_and_restore_select_lex();