diff options
author | Mats Kindahl <mats@sun.com> | 2009-12-21 19:50:25 +0100 |
---|---|---|
committer | Mats Kindahl <mats@sun.com> | 2009-12-21 19:50:25 +0100 |
commit | 060e3ae739e758920e24e3166f77e565c0329bee (patch) | |
tree | b73779a2794a84e20dba6411e891137f978b53fe /sql-bench | |
parent | e4de9401d647a6653dd74c02594ab1f76dee9292 (diff) | |
download | mariadb-git-060e3ae739e758920e24e3166f77e565c0329bee.tar.gz |
WL#5151: Conversion between different types when replicating
Bug#49836 reports that the geometry type does not work
with WL#5151 applied.
The GEOMETRY type inherits the blob comparison function,
which read the pack length from the metadata. The GEOMETRY
type does not fill in the metadata with anything sensible,
so it is always zero, meaning that the pack length for the
source type is considered zero, rendering it always "smaller"
than the target type which has pack length 4 (without pointer).
This patch fixes the problem by defining
Field_geom::pack_length_from_metadata() to always use the
same as Field_geom::row_pack_length().
Diffstat (limited to 'sql-bench')
0 files changed, 0 insertions, 0 deletions