#444 DB defect on languages with new char creation

Затворено
отворено пре 2 година од image · 3 коментара
image коментирира пре 2 година

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 коментирира пре 2 година
Коаутор

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 коментирира пре 2 година
Власник

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 коментирира пре 2 година
Власник

This should be fixed upstream now.

This should be fixed upstream now.
devn00b затворено пре 2 година
Пријавите се да се прикључе у овом разговору.
Учитавање...
Откажи
Сачувај
Још нема садржаја.