diff options
author | Sreeharsha Ramanavarapu <sreeharsha.ramanavarapu@oracle.com> | 2015-11-03 07:43:54 +0530 |
---|---|---|
committer | Sreeharsha Ramanavarapu <sreeharsha.ramanavarapu@oracle.com> | 2015-11-03 07:43:54 +0530 |
commit | 5e9a50efc37c233f1e2a3616f8bcb36315aba4c2 (patch) | |
tree | 284706455df37a976fe0585fef08f065c7e891b3 /sql/field.h | |
parent | 9b6ac73419256cf3c9554d8a782c4eaee6c6cf79 (diff) | |
download | mariadb-git-5e9a50efc37c233f1e2a3616f8bcb36315aba4c2.tar.gz |
Bug #22023218: MYSQL 5.5: MAIN.FULLTEXT HAS VALGRIND ISSUES.
Issue
-----
This problem occurs when varchar columns are used in a
internal temporary table. The type of the field is set
incorrectly to the generic FIELD_NORMAL type. This in turn
results in an inaccurate calculation of the record length.
Valgrind issues will occur since initialization has not
happend for some bytes.
Fix
----
While creating the temporary table, the type of the field
needs to be to set FIELD_VARCHAR. This will allow myisam
to calculate the record length accurately.
This fix is a backport of BUG#13350136.
Diffstat (limited to 'sql/field.h')
0 files changed, 0 insertions, 0 deletions