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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user