MDEV-21959: Fix a type mismatch on 64-bit systems
This commit is contained in:
parent
44298e4dea
commit
fd5c36bed5
@ -9043,7 +9043,7 @@ int Field_geom::store(const char *from, size_t length, CHARSET_INFO *cs)
|
||||
if (!tab_name)
|
||||
tab_name= "";
|
||||
wkt.set_charset(&my_charset_latin1);
|
||||
if (!(geom= Geometry::construct(&buffer, from, length)) ||
|
||||
if (!(geom= Geometry::construct(&buffer, from, uint32(length))) ||
|
||||
geom->as_wkt(&wkt, &dummy))
|
||||
goto err;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user