summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.h
diff options
context:
space:
mode:
authorbell@laptop.sanja.is.com.ua <>2003-10-12 17:56:05 +0300
committerbell@laptop.sanja.is.com.ua <>2003-10-12 17:56:05 +0300
commitddf4d1e5292f226f266a486b84c70e01ec1f93fe (patch)
tree2d243d69c4c8bafa98d2f0bd9b6ed43fea552637 /sql/item_geofunc.h
parentd6d6c5e1bb78215da668634310f592a9b4263db1 (diff)
downloadmariadb-git-ddf4d1e5292f226f266a486b84c70e01ec1f93fe.tar.gz
fixed printability of Items (all items except subselects)
(SCRUM) (WL#1274)
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r--sql/item_geofunc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h
index 79e45cca26f..72dc6620f3b 100644
--- a/sql/item_geofunc.h
+++ b/sql/item_geofunc.h
@@ -118,6 +118,7 @@ public:
case SP_EXTERIORRING:
return "exteriorring";
default:
+ DBUG_ASSERT(0); // Should never happened
return "spatial_decomp_unknown";
}
}
@@ -142,6 +143,7 @@ public:
case SP_INTERIORRINGN:
return "interiorringn";
default:
+ DBUG_ASSERT(0); // Should never happened
return "spatial_decomp_n_unknown";
}
}
@@ -210,6 +212,7 @@ public:
case SP_OVERLAPS_FUNC:
return "overlaps";
default:
+ DBUG_ASSERT(0); // Should never happened
return "sp_unknown";
}
}