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
commitdd14fa18afab0477bbc833b7f02f88fb977e79ae (patch)
treead51351f695978140f847012d093d17a18062b38 /sql/item_geofunc.cc
parent9fd9857e0bd02932543c03495599b19ea081031c (diff)
downloadmariadb-git-dd14fa18afab0477bbc833b7f02f88fb977e79ae.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;
}