summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorholyfoot/hf@hfmain.(none) <>2007-11-17 16:48:57 +0400
committerholyfoot/hf@hfmain.(none) <>2007-11-17 16:48:57 +0400
commit7588fa52b6ac01074bbc34252c6ce8d4fc0863ad (patch)
tree22dd22ef3be601a8d3cf90d68cd6a9f201b8c4a4 /sql/item_geofunc.cc
parent02b913ad2680e052c29b9596d7d8cab761410274 (diff)
parent7d111abf0eb9efbdc46d2924c0f27d078252e4f5 (diff)
downloadmariadb-git-7588fa52b6ac01074bbc34252c6ce8d4fc0863ad.tar.gz
Merge mysql.com:/home/hf/work/31158/my41-31158
into mysql.com:/home/hf/work/31158/my50-31158
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 966cefea9fe..d088f68fc0c 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -34,7 +34,7 @@ void Item_geometry_func::fix_length_and_dec()
{
collation.set(&my_charset_bin);
decimals=0;
- max_length=MAX_BLOB_WIDTH;
+ max_length= max_field_size;
maybe_null= 1;
}