MYSQL error 1069: Too many keys specified; max 64 keys allowed in query #758
Labels
bug
Indicates an unexpected problem or unintended behavior
component:prototype generator
priority:high
Consider the following script:
If I compile it with Ampersand-v3.9.1 [development:b051de7], the database is not created properly. In the ERROR log, I see lines such as:
As a consequence, applications that have this many (univalent) relations will not run. This currently happens in projects that we do, where we need to create simple/flat forms, and as a consequence, there are many relations that have SRC=Form and TGT=SomeOtherConcept.
A (cumbersome) workaround for this is to remove
CREATE INDEX
statements frommysql-installer.json
, such that for every concept, no more than 63 (or 64) keys are left over. After all, these keys seem to only affect performance.It would be nice if the generator would not generate more than these 63/64 keys, so that such applications would (continue to) run.
The text was updated successfully, but these errors were encountered: