diff options
author | unknown <bell@sanja.is.com.ua> | 2004-09-16 23:45:20 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-09-16 23:45:20 +0300 |
commit | 29ec367edd81aff7b8fc4b6abbbfff5e2620be19 (patch) | |
tree | f03c61a11fc8b28f1f7eccb71258d994789817dc /sql/item_strfunc.h | |
parent | 4ef01ca25c71ac59e751ea478a13dff480ebb98e (diff) | |
download | mariadb-git-29ec367edd81aff7b8fc4b6abbbfff5e2620be19.tar.gz |
updateability of field with collation support (BUG#5506)
mysql-test/r/view.result:
Collation with view update
mysql-test/t/view.test:
Collation with view update
sql/item.h:
updateability of field with collation support
sql/item_strfunc.h:
updateability of field with collation support
sql/sql_insert.cc:
updateability of field with collation support
sql/sql_update.cc:
updateability of field with collation support
sql/sql_view.cc:
updateability of field with collation support
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index df8861b2ee0..c4881a465a2 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -636,6 +636,11 @@ public: bool eq(const Item *item, bool binary_cmp) const; const char *func_name() const { return "collate"; } void print(String *str); + Item_field *filed_for_view_update() + { + /* this function is transparent for view updating */ + return args[0]->filed_for_view_update(); + } }; class Item_func_charset :public Item_str_func |