summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.h
diff options
context:
space:
mode:
authorunknown <bell@laptop.sanja.is.com.ua>2003-10-12 17:56:05 +0300
committerunknown <bell@laptop.sanja.is.com.ua>2003-10-12 17:56:05 +0300
commit1d17fd7d51f7100038eaa5fb4cb372c785a44010 (patch)
tree2d243d69c4c8bafa98d2f0bd9b6ed43fea552637 /sql/item_geofunc.h
parentbc8f801bf0f239b85ee95ea5410915f0f5424fc1 (diff)
downloadmariadb-git-1d17fd7d51f7100038eaa5fb4cb372c785a44010.tar.gz
fixed printability of Items (all items except subselects)
(SCRUM) (WL#1274) sql/item.cc: fixed printability of Items sql/item.h: fixed printability of Items sql/item_cmpfunc.cc: fixed printability of Items sql/item_cmpfunc.h: fixed printability of Items sql/item_func.cc: fixed printability of Items sql/item_func.h: fixed printability of Items sql/item_geofunc.h: added DBUG_ASSERT to catch error in debuging timw sql/item_row.cc: fixed printability of Items sql/item_row.h: fixed printability of Items sql/item_strfunc.cc: fixed printability of Items sql/item_strfunc.h: fixed printability of Items sql/item_sum.cc: fixed printability of Items sql/item_sum.h: fixed printability of Items sql/item_timefunc.cc: fixed printability of Items sql/item_timefunc.h: layout fixed fixed printability of Items sql/item_uniq.h: fixed printability of Items sql/sql_yacc.yy: layout fixed correct convertion to String
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";
}
}