diff options
author | unknown <malff/marcsql@weblab.(none)> | 2007-02-01 09:36:17 -0700 |
---|---|---|
committer | unknown <malff/marcsql@weblab.(none)> | 2007-02-01 09:36:17 -0700 |
commit | f65038bd67576e1b53fe99db092431f7fbdc2c41 (patch) | |
tree | 09dbcb9e0a274886fc9eef7c381ac801ef1e73b6 /sql/item_subselect.h | |
parent | 7687a272e44ab9f76fce839fbf2d11281c1d2982 (diff) | |
download | mariadb-git-f65038bd67576e1b53fe99db092431f7fbdc2c41.tar.gz |
Improved comments
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index a125a119ad8..97ded8bdd55 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -179,7 +179,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(); |