mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed LP bug #954262.
This bug in the constructor SEL_IMERGE::SEL_IMERGE could cause huge excessive memory requests.
This commit is contained in:
@ -1369,7 +1369,7 @@ SEL_IMERGE::SEL_IMERGE(SEL_IMERGE *arg, uint cnt,
|
||||
for (SEL_TREE **tree = trees, **arg_tree= arg->trees; tree < trees_next;
|
||||
tree++, arg_tree++)
|
||||
{
|
||||
if (!(*tree= new SEL_TREE(*arg_tree, FALSE, param)))
|
||||
if (!(*tree= new SEL_TREE(*arg_tree, TRUE, param)))
|
||||
goto mem_err;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user