Commit e623d247 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-22779: Crash: Prepared Statement ..., part #2.

For the sake of completeness, call sync_clones in reset_stmt_params, too.
parent 21e79331
......@@ -3125,7 +3125,10 @@ static void reset_stmt_params(Prepared_statement *stmt)
Item_param **item= stmt->param_array;
Item_param **end= item + stmt->param_count;
for (;item < end ; ++item)
{
(**item).reset();
(**item).sync_clones();
}
}
......
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