Hi Chris!

I suspect this table, `repo_revision` varchar(512)

DROP TABLE IF EXISTS `attachments_fileattachment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `attachments_fileattachment` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `caption` varchar(256) NOT NULL,
  `draft_caption` varchar(256) NOT NULL,
  `file` varchar(512) DEFAULT NULL,
  `mimetype` varchar(256) NOT NULL,
  `orig_filename` varchar(256) DEFAULT NULL,
  `repository_id` int(11) DEFAULT NULL,
  `repo_revision` varchar(512) DEFAULT NULL,
  `repo_path` varchar(1024) DEFAULT NULL,
  `added_in_filediff_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `attachments_fileattachment_a322ed1e` (`repository_id`),
  KEY `attachments_fileattachment_3e277a4b` (`repo_revision`),
  KEY `attachments_fileattachment_4b31b03f` (`added_in_filediff_id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;

so this shall be KEY `attachments_fileattachment_3e277a4b` 
(repo_revision(255)) to satisfy mysql default restrictions.

/v

понедельник, 18 ноября 2013 г., 23:26:14 UTC+4 пользователь Christian 
Hammond написал:
>
> Hmm, we tried to avoid indexes that would trigger this. Do you have any 
> idea which table/index this was having problems with?
>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to