forked from OpenIB/OpenIB
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Medium PrioritybugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededworkaroundtemporary workaround available, may not fix the bug in question.temporary workaround available, may not fix the bug in question.
Description
Use this instead, at least it prevents the error.
CREATE TABLE `torlist` (
`count` int NOT NULL AUTO_INCREMENT,
`ip` varchar(255) NOT NULL,
PRIMARY KEY (`count`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Using count as auto_increment and ip as primary key will throw error about multiple auto incrementing keys.
Metadata
Metadata
Assignees
Labels
Medium PrioritybugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededworkaroundtemporary workaround available, may not fix the bug in question.temporary workaround available, may not fix the bug in question.