1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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

For the sake of completeness, call sync_clones in reset_stmt_params, too.
This commit is contained in:
Sergei Petrunia
2020-06-13 23:28:09 +03:00
parent 21e79331c8
commit e623d24787

View File

@ -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();
}
}