summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorEvgeny Potemkin <epotemkin@mysql.com>2009-11-24 18:26:13 +0300
committerEvgeny Potemkin <epotemkin@mysql.com>2009-11-24 18:26:13 +0300
commit9f638f535e63b4bbe7cddfda153ddedad02f3f8a (patch)
tree6e715efd003d16cfc130e158eb707c3c7249c158 /sql/item_geofunc.cc
parentfad34c34cf22eb1c503204aee204dfb83ad7acea (diff)
parentbc43bff7edf79095c243cf6858acb29213fb152b (diff)
downloadmariadb-git-9f638f535e63b4bbe7cddfda153ddedad02f3f8a.tar.gz
Manual merge of the fix for bug#43668.
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r--sql/item_geofunc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index 3c5990eb359..8c38cb2a859 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -511,8 +511,8 @@ err:
longlong Item_func_spatial_rel::val_int()
{
DBUG_ASSERT(fixed == 1);
- String *res1= args[0]->val_str(&tmp_value1);
- String *res2= args[1]->val_str(&tmp_value2);
+ String *res1= args[0]->val_str(&cmp.value1);
+ String *res2= args[1]->val_str(&cmp.value2);
Geometry_buffer buffer1, buffer2;
Geometry *g1, *g2;
MBR mbr1, mbr2;