Closed GoogleCodeExporter closed 9 years ago
This error is caused by an irregularity in your database. Check the tabal
"Legions" and column "Id" error check that id "157555".
Original comment by donacion...@gmail.com
on 28 Mar 2011 at 9:36
I have this error too
Original comment by carles.d...@gmail.com
on 29 Mar 2011 at 12:49
Make sure that your Legions table has the 'Id' column. If not, i suggest you
run the table creation script:
CREATE TABLE IF NOT EXISTS `legions` (
`id` int(11) NOT NULL,
`name` varchar(16) NOT NULL,
`rank` int(11) NOT NULL DEFAULT '0',
`oldrank` int(11) NOT NULL DEFAULT '0',
`level` int(1) NOT NULL DEFAULT '1',
`contribution_points` INT NOT NULL DEFAULT '0',
`legionar_permission2` int(11) NOT NULL DEFAULT '64',
`centurion_permission1` int(11) NOT NULL DEFAULT '104',
`centurion_permission2` int(11) NOT NULL DEFAULT '8',
`disband_time` int(11) NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Original comment by alejsimp...@gmail.com
on 29 Mar 2011 at 2:20
Or have you altered this table in any manner that you added the column
LegionID??
Original comment by alejsimp...@gmail.com
on 29 Mar 2011 at 2:31
My mistake, apply fix and report result.
Original comment by ZeroSign...@gmail.com
on 29 Mar 2011 at 2:04
Attachments:
In your patch -
Index: MySQL5LegionDAO.java
===================================================================
--- MySQL5LegionDAO.java (revision 227)
+++ MySQL5LegionDAO.java (working copy)
@@ -545,10 +545,10 @@
s.setInt(1, legionId);
that legionId is correct or should also be replaced with id?
Original comment by wildsisop@gmail.com
on 30 Mar 2011 at 5:35
Committed Revision 232.
Original comment by ZeroSign...@gmail.com
on 31 Mar 2011 at 11:47
Original comment by ZeroSign...@gmail.com
on 6 Apr 2011 at 1:56
Original issue reported on code.google.com by
wildsisop@gmail.com
on 28 Mar 2011 at 7:33