diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-04-06 12:26:59 +0500 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-04-06 12:26:59 +0500 |
commit | 35f6b544c46026b9283cb3a06d874c84e8bbee8b (patch) | |
tree | c6cf4c4795b6ba6e4c9b221d9c0a948b9d3ef093 /sql/item_subselect.h | |
parent | 7f7880a132559ec443a13d4bcbec48c91e099376 (diff) | |
download | mariadb-git-35f6b544c46026b9283cb3a06d874c84e8bbee8b.tar.gz |
Bug#52120 create view cause Assertion failed: 0, file .\item_subselect.cc, line 817
We should disable const subselect item evaluation because
subselect transformation does not happen in view_prepare_mode
and thus val_...() methods can not be called.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index 467e9b22637..3806e68e377 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -126,6 +126,7 @@ public: virtual void reset_value_registration() {} enum_parsing_place place() { return parsing_place; } bool walk(Item_processor processor, bool walk_subquery, uchar *arg); + Item *safe_charset_converter(CHARSET_INFO *tocs); /** Get the SELECT_LEX structure associated with this Item. |