Commit a48210ac authored by Kirk Webb's avatar Kirk Webb
Browse files

Change types of latitude and longitude columns in widearea_nodeinfo to
float (instead of float(6,5)) to fix problem with values getting adjusted
improperly during insert.  Apparently the definition of the float(n,m)
type is non-standard, and has changed since sql 3.x.  Regular float
columns will do fine here.
parent 964b8d11
......@@ -3135,8 +3135,8 @@ CREATE TABLE widearea_nodeinfo (
external_node_id tinytext,
hostname varchar(255) default NULL,
site varchar(255) default NULL,
latitude float(6,5) default NULL,
longitude float(6,5) default NULL,
latitude float default NULL,
longitude float default NULL,
PRIMARY KEY (node_id)
) TYPE=MyISAM;
......
......@@ -3667,3 +3667,10 @@ last_net_act,last_cpu_act,last_ext_act);
4.85: Fix to previous revision; Skip to next entry.
4.86: Fix up column definitions for latitude and longitude in
widearea_nodeinfo table.
alter table widearea_nodeinfo
change latitude latitude float default NULL,
change longitude longitude float default NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment