diff options
author | Sreeharsha Ramanavarapu <sreeharsha.ramanavarapu@oracle.com> | 2015-03-11 16:07:49 +0530 |
---|---|---|
committer | Sreeharsha Ramanavarapu <sreeharsha.ramanavarapu@oracle.com> | 2015-03-11 16:07:49 +0530 |
commit | 96974ea7ca2539e342d5e732a80e919a59f1d162 (patch) | |
tree | b11ff7d1ea95b3f53584ae32ca8c754ad6912b7f /storage/myisam/rt_split.c | |
parent | 48869fceba5b30ef359a1f1b660a50424ea2bfa2 (diff) | |
download | mariadb-git-96974ea7ca2539e342d5e732a80e919a59f1d162.tar.gz |
Revert "Bug #19573096: LOADING CORRUPTED GEOMETRY DATA INTO A"
This reverts commit c7de768ec20f5167cff2c69a255d95ca2eded46a.
Diffstat (limited to 'storage/myisam/rt_split.c')
-rw-r--r-- | storage/myisam/rt_split.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/storage/myisam/rt_split.c b/storage/myisam/rt_split.c index d37084f79b8..955a69c6588 100644 --- a/storage/myisam/rt_split.c +++ b/storage/myisam/rt_split.c @@ -68,10 +68,6 @@ static double mbr_join_square(const double *a, const double *b, int n_dim) b += 2; }while (a != end); - /* Check for infinity or NaN */ - if (my_isinf(square) || isnan(square)) - square = DBL_MAX; - return square; } @@ -106,9 +102,6 @@ static void pick_seeds(SplitStruct *node, int n_entries, double max_d = -DBL_MAX; double d; - *seed_a = node; - *seed_b = node + 1; - for (cur1 = node; cur1 < lim1; ++cur1) { for (cur2=cur1 + 1; cur2 < lim2; ++cur2) |