https://bugs.openldap.org/show_bug.cgi?id=9679
Issue ID: 9679 Summary: On mariadb 10.5 the sql for creating the main definitions fails with errno: 150 "Foreign key constraint is incorrectly formed Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: lukav@lukav.com Target Milestone: ---
Created attachment 841 --> https://bugs.openldap.org/attachment.cgi?id=841&action=edit Attached patch that fixes the issue
When you try to execute servers/slapd/back-sql/rdbms_depend/mysql/backsql_create.sql in mariadb 10.5 you get an error: Fix Can't create table `ldap`.`ldap_entry_objclasses` (errno: 150 "Foreign key constraint is incorrectly formed")
That is because entry_id column is not declared unsigned as the ldap_entries(id) column.
This patch fixed the definition.
https://bugs.openldap.org/show_bug.cgi?id=9679
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs_review
https://bugs.openldap.org/show_bug.cgi?id=9679
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.8 Assignee|bugs@openldap.org |quanah@openldap.org Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=9679
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/404
https://bugs.openldap.org/show_bug.cgi?id=9679
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|IN_PROGRESS |RESOLVED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- • 01b653fd by Anton Avramov at 2021-09-15T01:59:33+00:00 ITS#9679 - Update ldap_entry_objectclass table for current mysql/mariadb
https://bugs.openldap.org/show_bug.cgi?id=9679
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• 4bc6ce7f by Anton Avramov at 2021-09-15T15:36:55+00:00 ITS#9679 - Update ldap_entry_objectclass table for current mysql/mariadb
RE25:
• a8057275 by Anton Avramov at 2021-09-15T15:43:57+00:00 ITS#9679 - Update ldap_entry_objectclass table for current mysql/mariadb
https://bugs.openldap.org/show_bug.cgi?id=9679
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED Resolution|TEST |FIXED