We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0526c01 commit 28941bbCopy full SHA for 28941bb
sql/item.cc
@@ -5797,7 +5797,8 @@ Item *Item_field::equal_fields_propagator(uchar *arg)
5797
first converted to a string (in date/time format) and compared as such if
5798
compared with another string.
5799
*/
5800
- if (item && field->type() != FIELD_TYPE_TIMESTAMP && cmp_context != INT_RESULT)
+ if (item && field->type() != FIELD_TYPE_TIMESTAMP && cmp_context != INT_RESULT
5801
+ && item->real_item()->type() != Item::REAL_ITEM)
5802
convert_zerofill_number_to_string(&item, (Field_num *)field);
5803
else
5804
item= this;
0 commit comments