Duplicate indexes created on searchwriterlock

Description

The search SQL and/or Hibernate HBM is creating two indexes on lockkey, only one of which is UNIQUE. There should be only one unique index created.

CREATE TABLE `searchwriterlock` (
`id` varchar(64) NOT NULL,
`lockkey` varchar(64) NOT NULL,
`nodename` varchar(64) DEFAULT NULL,
`expires` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `lockkey` (`lockkey`),
KEY `isearchwriterlock_lk` (`lockkey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8

Activity

Show:

Neal Caidin February 19, 2014 at 8:48 PM

Should the fix version be 1.4.0 ?

Hudson CI Server January 21, 2012 at 12:40 AM

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Conversion Script Required

Yes

Created January 19, 2012 at 2:43 AM
Updated July 28, 2014 at 1:23 PM
Resolved January 21, 2012 at 12:09 AM