diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-02-26 16:15:52 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-02-26 16:15:52 +0100 |
commit | 9e135ce19fccea9c6c981b2de521b2ae750e26e5 (patch) | |
tree | ad46b5e7cf3073d6cd14898772b56b18b7fda1cb /sql/lock.h | |
parent | dd13db6f4ae70f45038c1d000cb1439e17170d98 (diff) | |
download | mariadb-git-9e135ce19fccea9c6c981b2de521b2ae750e26e5.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 'sql/lock.h')
0 files changed, 0 insertions, 0 deletions