set int fields to unsigned, refresh geoip data

This commit is contained in:
Daniel Seifert 2011-10-13 15:27:19 +00:00
parent ca594d329e
commit c46d7243ee
6 changed files with 153723 additions and 108760 deletions

2
.gitattributes vendored
View File

@ -7,7 +7,7 @@ copy_this/modules/d3_geoip/views/d3_oxcmp_lang_geoip.php -text
copy_this/out/admin/de/d3_geoip_lang.php -text
copy_this/out/admin/tpl/d3_country_geoip.tpl -text
setup+doku/IPNum-Berechnung.xls -text
setup+doku/geoip-Data.sql -text
setup+doku/geoip-Data_2011-10-13.sql -text
setup+doku/geoip-Struktur.sql -text
setup+doku/install.sql -text
setup+doku/install.txt -text

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +1,44 @@
-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 30. Oktober 2009 um 11:02
-- Server Version: 5.0.51
-- PHP-Version: 5.2.5
--
--
-- Erstellungszeit: 13. Oktober 2011 um 11:02
-- Server Version: 5.0.51
-- PHP-Version: 5.2.5
--
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `d3geoip`
--
-- Tabellenstruktur für Tabelle `d3geoip`
--
CREATE TABLE `d3geoip` (
`D3STARTIP` char(15) collate latin1_general_ci NOT NULL,
`D3ENDIP` char(15) collate latin1_general_ci NOT NULL,
`D3STARTIPNUM` int(10) NOT NULL,
`D3ENDIPNUM` int(10) NOT NULL,
`D3STARTIP` char(15) collate latin1_general_ci NOT NULL,
`D3ENDIP` char(15) collate latin1_general_ci NOT NULL,
`D3STARTIPNUM` int(10) unsigned NOT NULL,
`D3ENDIPNUM` int(10) unsigned NOT NULL,
`D3ISO` char(2) collate latin1_general_ci NOT NULL,
`D3COUNTRYNAME` varchar(50) collate latin1_general_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='GeoIP';

View File

@ -2,7 +2,7 @@
* *
* Modul "GeoIP-Kundenleitsystem" für OXID eSales Version EE 4.2.0 *
* Version 1.0 (30.10.2009) *
* Datenbasis: MaxMind GeoLite Country, Version Oktober 2009
* Datenbasis: MaxMind GeoLite Country, Version Oktober 2011
* (C) D³ Data Development *
* Bearbeiter: DS *
* *

View File

@ -1,4 +1,4 @@
# =========== 1.0 => 1.1 ==============
ALTER TABLE `d3_geoip_test` CHANGE `D3STARTIPNUM` `D3ENDIPNUM` BIGINT( 10 ) NOT NULL;
ALTER TABLE `d3_geoip_test` CHANGE `D3ENDIPNUM` `D3ENDIPNUM` BIGINT( 10 ) NOT NULL;
ALTER TABLE `d3geoip` CHANGE `D3STARTIPNUM` `D3STARTIPNUM` INT( 10 ) UNSIGNED NOT NULL ,
CHANGE `D3ENDIPNUM` `D3ENDIPNUM` INT( 10 ) UNSIGNED NOT NULL