mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
DEV-10595 MariaDB daemon leaks memory with specific query
The issue was that in some extreme cases when doing GROUP BY, buffers for temporary blobs where not properly cleared.
This commit is contained in:
@ -3607,6 +3607,11 @@ public:
|
||||
save_copy_field_end= copy_field_end= NULL;
|
||||
}
|
||||
}
|
||||
void free_copy_field_data()
|
||||
{
|
||||
for (Copy_field *ptr= copy_field ; ptr != copy_field_end ; ptr++)
|
||||
ptr->tmp.free();
|
||||
}
|
||||
};
|
||||
|
||||
class select_union :public select_result_interceptor
|
||||
|
Reference in New Issue
Block a user