summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:13:36 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:13:36 -0300
commitbc4ba28cab2fbdefee87fbb8d97234046f707ed0 (patch)
treead51351f695978140f847012d093d17a18062b38 /sql/item_geofunc.cc
parent97c3182312568d856e040f8d788f1ee0291717c1 (diff)
downloadmariadb-git-bc4ba28cab2fbdefee87fbb8d97234046f707ed0.tar.gz
WL#5498: Remove dead and unused source code
Remove unused variables.
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r--sql/item_geofunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index e046087b16a..d734b55a970 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -49,7 +49,7 @@ void Item_geometry_func::fix_length_and_dec()
{
collation.set(&my_charset_bin);
decimals=0;
- max_length= max_field_size;
+ max_length= (uint32) 4294967295U;
maybe_null= 1;
}