mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Move reset of insert_values to ensure it's done also during error conditions
This fixed a failure of insert_update.test on some platforms
This commit is contained in:
@ -981,8 +981,7 @@ get_mm_parts(PARAM *param, COND *cond_func, Field *field,
|
||||
SEL_TREE *tree2= get_mm_parts(param, cond_func,
|
||||
field, Item_func::GT_FUNC,
|
||||
value, cmp_type);
|
||||
if (!tree2)
|
||||
DBUG_RETURN(0);
|
||||
/* tree_or() will return 0 if tree2 is 0 */
|
||||
tree= tree_or(param,tree,tree2);
|
||||
}
|
||||
DBUG_RETURN(tree);
|
||||
|
Reference in New Issue
Block a user