Commit a6904ef0 authored by kroki@mysql.com's avatar kroki@mysql.com

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 491ba404
...@@ -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 @@ public: ...@@ -2187,7 +2187,7 @@ public:
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