summaryrefslogtreecommitdiff
path: root/sql/gcalc_tools.cc
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2011-10-05 14:45:39 +0500
committerAlexey Botchkov <holyfoot@askmonty.org>2011-10-05 14:45:39 +0500
commit0048f0b1aefa1206c6d8f35707ded2f87bc8aec1 (patch)
tree53f1b24fef614642ea4e1bccd4fc2b105febff3f /sql/gcalc_tools.cc
parent0edb291d3addd93f24b99d1446ed9dfb89bc56ad (diff)
downloadmariadb-git-0048f0b1aefa1206c6d8f35707ded2f87bc8aec1.tar.gz
Valgrind warning fixed.
Coordinate size limitation removed. per-file comments: mysql-test/r/gis-precise.result test result updated. sql/gcalc_slicescan.cc Check coordinate extent to pick better precidion in the ::set_double() sql/gcalc_slicescan.h free_list() can lead to valgrind warnig. Fixed sql/gcalc_tools.cc free_list() call changed.
Diffstat (limited to 'sql/gcalc_tools.cc')
-rw-r--r--sql/gcalc_tools.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/gcalc_tools.cc b/sql/gcalc_tools.cc
index 5871dce8642..56a3c5ee5f2 100644
--- a/sql/gcalc_tools.cc
+++ b/sql/gcalc_tools.cc
@@ -1409,7 +1409,7 @@ int Gcalc_operation_reducer::get_result(Gcalc_result_receiver *storage)
void Gcalc_operation_reducer::reset()
{
- free_list(m_result, m_res_hook);
+ free_list((Gcalc_heap::Item **) &m_result, m_res_hook);
m_res_hook= (Gcalc_dyn_list::Item **)&m_result;
free_list(m_first_active_thread);
}