summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorholyfoot/hf@hfmain.(none) <>2007-11-17 17:12:18 +0400
committerholyfoot/hf@hfmain.(none) <>2007-11-17 17:12:18 +0400
commite400b54447afa31d9eb2d85a27d1a30ea6a7cc51 (patch)
tree8967cd00403e688cc4f312430d342326e049d799 /sql/item_geofunc.cc
parent84159db8f7458ef7873a3e850f52d8f7cb54f9b9 (diff)
parent67ce52fd66d9efacf8d4e25b5ee6c89de0bf4951 (diff)
downloadmariadb-git-e400b54447afa31d9eb2d85a27d1a30ea6a7cc51.tar.gz
Merge mysql.com:/home/hf/work/31158/my50-31158
into mysql.com:/home/hf/work/31158/my51-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 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;
}