Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table intraacl_badlinks cannot be created in MariadB 10.1.26 #86

Open
karstengit opened this issue Sep 8, 2017 · 0 comments
Open

Table intraacl_badlinks cannot be created in MariadB 10.1.26 #86

karstengit opened this issue Sep 8, 2017 · 0 comments

Comments

@karstengit
Copy link

The primary key including bl_title is to long!
It only works with
PRIMARY KEY (bl_from, bl_namespace),
KEY (bl_namespace, bl_title)

This fails:

CREATE TABLE IF NOT EXISTS intraacl_badlinks (
bl_from INT UNSIGNED NOT NULL,
bl_namespace INT NOT NULL,
bl_title VARCHAR(255) BINARY NOT NULL,
PRIMARY KEY (bl_from, bl_namespace, bl_title),
KEY (bl_namespace, bl_title)
)

MySQL meldet: Dokumentation
#1071 - Schlüssel ist zu lang. Die maximale Schlüssellänge beträgt 767

=> maximum key length 767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant