diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-03-26 09:49:35 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-03-26 09:49:35 +0400 |
commit | d5325c7793a640d0f32d62088f84d3d19166add7 (patch) | |
tree | bf44c28fa4ec3980528534c53a6e89a26366f729 /vio/vio_priv.h | |
parent | 251be0170dabda29ab601a8386dc7e9167b5f2da (diff) | |
download | mariadb-git-d5325c7793a640d0f32d62088f84d3d19166add7.tar.gz |
Bug#52164 Assertion failed: param.sort_length, file .\filesort.cc, line 149
The crash happens because of incorrect max_length calculation
in QUOTE function(due to overflow). max_length is set
to 0 and it leads to assert failure.
The fix is to cast expression result to
ulonglong variable and adjust it if the
result exceeds MAX_BLOB_WIDTH.
mysql-test/r/func_str.result:
test case
mysql-test/t/func_str.test:
test case
sql/item_strfunc.h:
cast expression result to ulonglong variable and
adjust it if the result exceeds MAX_BLOB_WIDTH.
Diffstat (limited to 'vio/vio_priv.h')
0 files changed, 0 insertions, 0 deletions