Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MDEV-18920 Prepared statements with st_convexhull hang and eat 100% cpu.
In the case of error when object shapes are half-collected we need to set the NULL at the vertice's list.
- Loading branch information
Alexey Botchkov
committed
Apr 22, 2019
1 parent
6c5e4c9
commit a4f7d85
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -982,6 +982,8 @@ void Gcalc_heap::reset() | ||
| { | ||
| if (m_n_points) | ||
| { | ||
| if (m_hook) | ||
| *m_hook= NULL; | ||
| free_list(m_first); | ||
| m_n_points= 0; | ||
| } | ||