Item_func_geometry_from_text::val_str() should set null_value in case of wrong data.
Attach a file by drag & drop or click to upload