mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-21 02:57:46 -05:00
Fixed a bug on windows when redirecting STDIN for SQL import, e.g. dolt sql < dump.sql. Also fixed up ip2nation sample so that it successfully imports
Signed-off-by: Zach Musgrave <zach@liquidata.co>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
CREATE TABLE ip2nation (
|
||||
ip int(11) unsigned NOT NULL default '0',
|
||||
ip int(11) NOT NULL default 0,
|
||||
country char(2) NOT NULL default '',
|
||||
PRIMARY KEY (ip)
|
||||
);
|
||||
@@ -11,8 +11,8 @@ CREATE TABLE ip2nationCountries (
|
||||
iso_code_3 varchar(3) default '',
|
||||
iso_country varchar(255) NOT NULL default '',
|
||||
country varchar(255) NOT NULL default '',
|
||||
lat float NOT NULL default '0',
|
||||
lon float NOT NULL default '0',
|
||||
lat float NOT NULL default 0.0,
|
||||
lon float NOT NULL default 0.0,
|
||||
PRIMARY KEY (code)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user