summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index e2b87da612a..0993b8b155a 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -840,6 +840,7 @@ Item *Item_func_case::find_item(String *str)
if (args[i]->val()==first_expr_real && !args[i]->null_value)
return args[i+1];
break;
+ case ROW_RESULT:
default:
// This case should never be choosen
DBUG_ASSERT(0);