mirror of https://github.com/MariaDB/server
Browse Source
The issue here is window function makes the passed string object to point to an area in a temporary table's record buffer. Then, the temporary table is freed, together with its record buffer. Then, Item_cache_str attempts to read this value. The fix is to call value_buff.copy(). This will make the value_buff to store its string in a buffer that it owns, which will not disappear unexpectedly.bb-10.2-MDEV-21335
3 changed files with 21 additions and 0 deletions
Loading…
Reference in new issue