diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-02-26 16:22:26 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-02-26 16:22:26 +0100 |
commit | 6bc7bd0eb233aa08702bcc0f0c3ca8b73fc32294 (patch) | |
tree | 9f5a20802b4807834d2bc3afc59f18209b39d08b /storage/xtradb/ibuf | |
parent | 0dc23679c867629ded5f9534d2ab6e8edf238aa0 (diff) | |
download | mariadb-git-6bc7bd0eb233aa08702bcc0f0c3ca8b73fc32294.tar.gz |
Fix code in make_sortkey() that only worked by chance
(assert added by MySQL verified that strnxfrm can only *increase*
the string length if from == to, and the latter is a random
decision made by individual items and String::realloc).
Fix it by avoiding the memcpy in the first place.
Diffstat (limited to 'storage/xtradb/ibuf')
0 files changed, 0 insertions, 0 deletions