Closed (fixed)
Project:
Search Log
Version:
5.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 Dec 2008 at 09:05 UTC
Updated:
23 Dec 2008 at 17:32 UTC
* user warning: Specified key was too long; max key length is 1000 bytes query: CREATE TABLE search_log ( `qid` INT( 11 ) NOT NULL AUTO_INCREMENT , `q` VARCHAR( 255 ) NOT NULL , `module` VARCHAR( 255 ) NOT NULL , `time` INT( 11 ) NULL DEFAULT '0', `counter` INT( 11 ) NULL DEFAULT '0', `failed` TINYINT( 1 ) UNSIGNED NULL DEFAULT '0', PRIMARY KEY ( `qid` ), UNIQUE KEY `q` (q,module,time)) in /home/www/grusha.org.ua/HTDOCS/grusha/includes/database.mysql.inc on line 174.
* Search Log installation unsuccessful. Tables may need to be installed manually.
Comments
Comment #1
vitovt commentedThis helps me:
mysql> CREATE TABLE `search_log`
-> (
-> `qid` INT( 11 ) NOT NULL ,
-> `q` VARCHAR( 255 ) NOT NULL ,
-> `module` VARCHAR( 255 ) NOT NULL ,
-> `time` VARCHAR( 255 ) NOT NULL ,
-> `counter` INT( 11 ) NULL DEFAULT '0',
-> `failed` TINYINT( 1 ) UNSIGNED NULL DEFAULT '0',
-> PRIMARY KEY ( `qid` ) ,
-> UNIQUE (`q`)
-> ) ENGINE = MYISAM ;
Query OK, 0 rows affected (0.01 sec)
Comment #2
john.money commentedThanks for bug report.
Please download release 1.01.
Comment #3
john.money commentedMarking fixed.