diff options
Diffstat (limited to 'sql/item.cc')
-rw-r--r-- | sql/item.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item.cc b/sql/item.cc index f59b2fe2fb7..8bba7b65f2e 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -4520,13 +4520,13 @@ bool Item_param::is_evaluable_expression() const } -bool Item_param::check_assignability_to(const Field *to) const +bool Item_param::check_assignability_to(const Field *to, bool ignore) const { switch (state) { case SHORT_DATA_VALUE: case LONG_DATA_VALUE: case NULL_VALUE: - return to->check_assignability_from(type_handler()); + return to->check_assignability_from(type_handler(), ignore); case NO_VALUE: case IGNORE_VALUE: case DEFAULT_VALUE: |