summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@hfmain.(none)>2007-11-17 16:48:57 +0400
committerunknown <holyfoot/hf@hfmain.(none)>2007-11-17 16:48:57 +0400
commit75b8713b48b42a663425a8eac0702de6ead89660 (patch)
tree22dd22ef3be601a8d3cf90d68cd6a9f201b8c4a4 /sql/item_geofunc.cc
parentb603746f142d979edff14e79c93288882d8e8b00 (diff)
parenteb347921b736c06651189623b1dcd92a6d6d1039 (diff)
downloadmariadb-git-75b8713b48b42a663425a8eac0702de6ead89660.tar.gz
Merge mysql.com:/home/hf/work/31158/my41-31158
into mysql.com:/home/hf/work/31158/my50-31158 mysql-test/t/gis.test: Auto merged sql/field.h: Auto merged sql/item_geofunc.cc: Auto merged mysql-test/r/gis.result: merging sql/field.cc: merging
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;
}