~ubuntu-branches/ubuntu/wily/mysql-5.6/wily

« back to all changes in this revision

Viewing changes to storage/myisam/rt_split.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-07-21 07:09:29 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20150721070929-mg4dpqkgg3it1ajf
Tags: upstream-5.6.25
ImportĀ upstreamĀ versionĀ 5.6.25

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
 
1
/* Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
2
2
   
3
3
   This program is free software; you can redistribute it and/or modify
4
4
   it under the terms of the GNU General Public License as published by
68
68
    b += 2;
69
69
  }while (a != end);
70
70
 
 
71
  /* Check for infinity or NaN */
 
72
  if (my_isinf(square) || my_isnan(square))
 
73
    square = DBL_MAX;
 
74
 
71
75
  return square;
72
76
}
73
77
 
102
106
  double max_d = -DBL_MAX;
103
107
  double d;
104
108
 
 
109
  *seed_a = node;
 
110
  *seed_b = node + 1;
 
111
 
105
112
  for (cur1 = node; cur1 < lim1; ++cur1)
106
113
  {
107
114
    for (cur2=cur1 + 1; cur2 < lim2; ++cur2)