issues: 217425388
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
217425388 | MDU6SXNzdWUyMTc0MjUzODg= | 178 | Primary keys too restrictive on some weenie tables | 25618389 | closed | 0 | 0 | 2017-03-28T01:56:16Z | 2017-04-10T11:35:43Z | 2017-04-10T11:35:43Z | CONTRIBUTOR | Proposed fix: ALTER TABLE weenie_palette_changes DROP PRIMARY KEY, ADD PRIMARY KEY(weenieClassId, subPaletteId, offset, length); ALTER TABLE weenie_texture_map_changes DROP PRIMARY KEY, ADD PRIMARY KEY(weenieClassId, index, oldId); I think the weenie_palette_changes table needs a different primary index. Currently it is weenieClassId + subPaletteId. Here is the palette data for Narg. subPaletteId,offset,length 67116992,192,64 67109565,256,64 67114248,576,160 67114248,1088,192 67114248,320,192 67114248,928,160 67114248,0,192 67114248,768,96 67114248,928,96 67110336,2000,48 subPaletteId 67114248 appears 7 times, twice it has the same offset of 928 The same problem exists for weenie_texture_map_changes. Currently it is weenieClassId + index. Here is the texture data for the Aluvian Mid-Stakes Gamesmaster index,oldId,newId 16,83886232,83890685 16,83886668,83890262 16,83886837,83890287 16,83886684,83890353 9,83887070,83886781 9,83887062,83886686 0,83889072,83889072 0,83889342,83889342 5,83887064,83886241 1,83887064,83886241 3,83889344,83887054 7,83889344,83887054 4,83887068,83887054 8,83887068,83887054 index 16 apears 4 times | {"url": "https://api.github.com/repos/ACEmulator/ACE/issues/178/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | completed | 79078680 | issue |