Skip to content

Remove the custom prefix from the table name length when checking on … - #15289

Merged
MorrisJobke merged 1 commit into
masterfrom
bugfix/15229/fix-non-default-prefixes
Apr 30, 2019
Merged

Remove the custom prefix from the table name length when checking on …#15289
MorrisJobke merged 1 commit into
masterfrom
bugfix/15229/fix-non-default-prefixes

Conversation

@nickvergessen

Copy link
Copy Markdown
Member

…the default primary index

Fix#15229

@nickvergessen

Copy link
Copy Markdown
MemberAuthor

/backport to stable16

@skjnldsv

Copy link
Copy Markdown
Member

Well, we should probably also check and/or enforce innodb_large_prefix as well as mariadb > 12.2.
Just upgrading mariadb fixed everything for me.

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But otherwise, fine forme

@nickvergessen

Copy link
Copy Markdown
MemberAuthor

Well, we should probably also check and/or enforce innodb_large_prefix as well as mariadb > 12.2.

That is completely unrelated. But feel free to create a new issue, explain what the problem is and assign it to me.

@skjnldsv

Copy link
Copy Markdown
Member

That is completely unrelated. But feel free to create a new issue, explain what the problem is and assign it to me.

Ah sorry, I thought it was related to the Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

Comment threadlib/private/DB/MigrationService.php Outdated
…the default primary index
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
nickvergessenforce-pushed the bugfix/15229/fix-non-default-prefixes branch from 01cf3b3 to b3e6cbcCompareApril 30, 2019 10:09

@blizzzblizzz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

@MorrisJobkeMorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 30, 2019
@MorrisJobke
MorrisJobke merged commit 4907b4e into masterApr 30, 2019
@MorrisJobke
MorrisJobke deleted the bugfix/15229/fix-non-default-prefixes branch April 30, 2019 12:18
@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable16 in #15312

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: install and update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to 16.0 - InvalidArgumentException: Primary index name on "xxxxxx_collres_collections" is too long.

4 participants

@nickvergessen@skjnldsv@blizzz@MorrisJobke