• Alexey Botchkov's avatar
    MDEV-3856 Import of a large polygon fails/hangs. · ae826010
    Alexey Botchkov authored
            The Gis_point::init_from_wkt called the String::realloc(),
            and this call is quite slow in the DEBUG mode. Which makes
            loading the huge polygon hang forever.
            Fixed by using the String::realloc(size, inc_size) version instead
            as it's done for other spatial features.
    ae826010
spatial.cc 55.9 KB