mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Likely fix for 1233113
This commit is contained in:
parent
aefcd57880
commit
549cee850f
1 changed files with 4 additions and 1 deletions
|
@ -700,9 +700,12 @@ namespace open_query
|
|||
// Because otherwise things can happen and we havent freed a resource since the end of the last query...
|
||||
void oqgraph::release_cursor() throw() {
|
||||
if (share->g._cursor) {
|
||||
// Make sure refs all freed before deleting share->g._cursor
|
||||
share->g._rnd_cursor = 0;
|
||||
delete cursor; cursor = 0;
|
||||
delete share->g._cursor;
|
||||
share->g._cursor = NULL;
|
||||
}
|
||||
delete cursor; cursor= 0;
|
||||
row_info= empty_row;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue