Commit f7bae26b authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

refs #5727 address upsert code review comments

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@51123 c7de825b-a66e-492c-adef-691d508d4ae1
parent 827a8007
......@@ -233,6 +233,8 @@ static bool check_decr_floor_expression(Field *lhs_field, Item *item) {
if (item->type() != Item::FUNC_ITEM)
return false;
Item_func *item_func = static_cast<Item_func*>(item);
if (strcmp(item_func->func_name(), "if") != 0)
return false;
Item **arguments = item_func->arguments();
uint n = item_func->argument_count();
if (n != 3)
......
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