Commit 46b520cd authored by unknown's avatar unknown

Remove 'const' that prevents Microsoft VC realize that

Item_trigger_field::set_required_privilege(const bool rw) is an
overloading of Settable_routine_parameter::set_required_privilege(bool rw).
parent 92979c68
...@@ -5365,7 +5365,7 @@ bool Item_trigger_field::eq(const Item *item, bool binary_cmp) const ...@@ -5365,7 +5365,7 @@ bool Item_trigger_field::eq(const Item *item, bool binary_cmp) const
} }
void Item_trigger_field::set_required_privilege(const bool rw) void Item_trigger_field::set_required_privilege(bool rw)
{ {
/* /*
Require SELECT and UPDATE privilege if this field will be read and Require SELECT and UPDATE privilege if this field will be read and
......
...@@ -2187,7 +2187,7 @@ class Item_trigger_field : public Item_field, ...@@ -2187,7 +2187,7 @@ class Item_trigger_field : public Item_field,
void cleanup(); void cleanup();
private: private:
void set_required_privilege(const bool rw); void set_required_privilege(bool rw);
bool set_value(THD *thd, sp_rcontext *ctx, Item *it); bool set_value(THD *thd, sp_rcontext *ctx, Item *it);
public: public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment