#444 DB defect on languages with new char creation

Uzavrená
otvorené 1 rok pred užívateľom image · 3 komentárov
image okomentoval 1 rok pred

Key constraints are dumb, this needs to be looked into when new chars are created:

16:03:25 E DBCore : #1451: Cannot delete or update a parent row: a foreign key constraint fails (eq2emu.character_languages, CONSTRAINT character_languages_ibfk_1 FOREIGN KEY (char_id) REFERENCES characters (id) ON UPDATE CASCADE)

Query: DELETE FROM characters WHERE id=1732 AND account_id=88 16:03:31 D World : Removing connection...

Key constraints are dumb, this needs to be looked into when new chars are created: 16:03:25 E DBCore : #1451: Cannot delete or update a parent row: a foreign key constraint fails (`eq2emu`.`character_languages`, CONSTRAINT `character_languages_ibfk_1` FOREIGN KEY (`char_id`) REFERENCES `characters` (`id`) ON UPDATE CASCADE) Query: DELETE FROM characters WHERE id=1732 AND account_id=88 16:03:31 D World : Removing connection...
image okomentoval 1 rok pred
Spolupracovník

delete too:

16:11:56 E DBCore : #1451: Cannot delete or update a parent row: a foreign key constraint fails (eq2emu.character_languages, CONSTRAINT character_languages_ibfk_1 FOREIGN KEY (char_id) REFERENCES characters (id) ON UPDATE CASCADE) Query: DELETE FROM characters WHERE id=1734 AND account_id=88

delete too: 16:11:56 E DBCore : #1451: Cannot delete or update a parent row: a foreign key constraint fails (`eq2emu`.`character_languages`, CONSTRAINT `character_languages_ibfk_1` FOREIGN KEY (`char_id`) REFERENCES `characters` (`id`) ON UPDATE CASCADE) Query: DELETE FROM characters WHERE id=1734 AND account_id=88
devn00b okomentoval 1 rok pred
Vlastník

ALTER TABLE character_languages

DROP FOREIGN KEY `character_languages_ibfk_1`; Corrects the issue passing along to @neatz Assigned to him as well =)
ALTER TABLE `character_languages` DROP FOREIGN KEY `character_languages_ibfk_1`; Corrects the issue passing along to @neatz Assigned to him as well =)
devn00b okomentoval 1 rok pred
Vlastník

This should be fixed upstream now.

This should be fixed upstream now.
devn00b zatvorené 1 rok pred
Prihláste sa pre zapojenie do konverzácie.
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.