Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions sql/item.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8007,9 +8007,7 @@ void Item_trigger_field::cleanup() {
}

Item_result item_cmp_type(Item_result a, Item_result b) {
if (a == STRING_RESULT && b == STRING_RESULT) return STRING_RESULT;
if (a == INT_RESULT && b == INT_RESULT)
return INT_RESULT;
if (a == b) return a;
else if (a == ROW_RESULT || b == ROW_RESULT)
return ROW_RESULT;
if ((a == INT_RESULT || a == DECIMAL_RESULT) &&
Expand Down