diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item_geofunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index b1fe72e99e0..4afc56eaf87 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -1395,7 +1395,7 @@ int Item_func_buffer::Transporter::complete() } else { - if (x2 != x00 && y2 != y00) + if (x2 != x00 || y2 != y00) { if (add_edge_buffer(x00, y00, false, false)) return 1; |