summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2010-04-06 12:26:59 +0500
committerSergey Glukhov <Sergey.Glukhov@sun.com>2010-04-06 12:26:59 +0500
commit35f6b544c46026b9283cb3a06d874c84e8bbee8b (patch)
treec6cf4c4795b6ba6e4c9b221d9c0a948b9d3ef093 /sql/item_subselect.h
parent7f7880a132559ec443a13d4bcbec48c91e099376 (diff)
downloadmariadb-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.h1
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.