~james-page/ubuntu/precise/mysql-5.5/misc-fixes

« back to all changes in this revision

Viewing changes to sql/spatial.cc

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-06-11 07:34:33 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120611073433-l9za2ni4ipp848y3
Tags: 5.5.24-0ubuntu0.12.04.1
* SECURITY UPDATE: Update to 5.5.24 to fix security issues (LP: #1011371)
  - http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
609
609
    return 0;
610
610
  }
611
611
  data+= 4;
612
 
  if (no_data(data, SIZEOF_STORED_DOUBLE * 2 * n_points))
 
612
  if (n_points == 0 ||
 
613
      no_data(data, SIZEOF_STORED_DOUBLE * 2 * n_points))
613
614
    return 1;
614
615
 
615
616
  /* Get first point */