Some mistakes in opt_range.cc and libmysqld/CMakeLists.txt files corrected

This commit is contained in:
Galina Shalygina 2017-08-29 21:24:05 +02:00
parent a5a01dbb08
commit 1efa9ed8ca
2 changed files with 2 additions and 1 deletions

View file

@ -117,6 +117,7 @@ SET(SQL_EMBEDDED_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
../sql/ha_sequence.cc ../sql/ha_sequence.h
../sql/temporary_tables.cc
../sql/session_tracker.cc
../sql/sql_tvc.cc ../sql/sql_tvc.h
${GEN_SOURCES}
${MYSYS_LIBWRAP_SOURCE}
)

View file

@ -7501,7 +7501,7 @@ SEL_TREE *Item_bool_func::get_full_func_mm_tree(RANGE_OPT_PARAM *param,
param->current_table);
#ifdef HAVE_SPATIAL
Field::geometry_type sav_geom_type;
LINT_INIT(sav_geom_type);
//LINT_INIT(sav_geom_type);
if (field_item->field->type() == MYSQL_TYPE_GEOMETRY)
{