1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fixes to make compilers happy.

per-file comments:
  mysql-test/t/gis-precise.test
        number-to-string conversion differs on Windows.
        Have to tolerate this while GIS data is stored in doubles.
  sql/spatial.cc
        prev_x initialization added.
This commit is contained in:
Alexey Botchkov
2011-11-24 16:26:13 +04:00
parent fd3295e0ac
commit 7b08d99627
2 changed files with 5 additions and 1 deletions

View File

@ -766,7 +766,8 @@ int Gis_line_string::store_shapes(Gcalc_shape_transporter *trn) const
{
uint32 n_points;
double x, y;
double prev_x, prev_y;
double prev_x= 0.0;
double prev_y= 0.0;
int first_point= 1;
const char *data= m_data;