Adds local cache, doesn't check reconnects, fixes bugs

This commit is contained in:
MrStonedOne
2016-05-11 23:40:37 -07:00
parent 2523a0d604
commit c37ae784e7
7 changed files with 76 additions and 22 deletions

View File

@@ -369,7 +369,7 @@ DROP TABLE IF EXISTS `ipintel`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ipintel` (
`ip` INT UNSIGNED NOT NULL ,
`date` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL ,
`date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL ,
`intel` REAL NOT NULL DEFAULT '0',
PRIMARY KEY ( `ip` )
) ENGINE = INNODB;