[MDEV-13550] Copy ctor instread of memcpy() in partition_info::get_clone() (#436) Created: 2017-08-16 Updated: 2017-11-22 Resolved: 2017-11-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Partitioning |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.2.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | contribution, foundation | ||
| Description |
|
List<>::last is wrong after memcpy(). Doing it on constructed objects is bad practice. |