summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@hfmain.(none)>2007-11-17 17:12:18 +0400
committerunknown <holyfoot/hf@hfmain.(none)>2007-11-17 17:12:18 +0400
commit5fac132b5f5d81af73d22c5bf2e13505d9927930 (patch)
tree8967cd00403e688cc4f312430d342326e049d799 /sql/item_geofunc.cc
parentb61146e1f6cb24ecf6b56a199abb13be5e4e7a8e (diff)
parentbe99cfef545468a0257a0798dabda491224f33f7 (diff)
downloadmariadb-git-5fac132b5f5d81af73d22c5bf2e13505d9927930.tar.gz
Merge mysql.com:/home/hf/work/31158/my50-31158
into mysql.com:/home/hf/work/31158/my51-31158 mysql-test/t/gis.test: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged sql/item_geofunc.cc: Auto merged mysql-test/r/gis.result: 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 332e88c950d..2da5965c94d 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -37,7 +37,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;
}