summaryrefslogtreecommitdiff
path: root/sql/lock.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-02-26 16:15:52 +0100
committerSergei Golubchik <sergii@pisem.net>2014-02-26 16:15:52 +0100
commit9e135ce19fccea9c6c981b2de521b2ae750e26e5 (patch)
treead46b5e7cf3073d6cd14898772b56b18b7fda1cb /sql/lock.h
parentdd13db6f4ae70f45038c1d000cb1439e17170d98 (diff)
downloadmariadb-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