Skip to content

Make sure that "Optional" SQL is only ran by choice of the user and not automatically by auto-updater#200

Merged
heyitsbench merged 2 commits intoazerothcore:masterfrom
TheSCREWEDSoftware:fix_cli
Apr 9, 2026
Merged

Make sure that "Optional" SQL is only ran by choice of the user and not automatically by auto-updater#200
heyitsbench merged 2 commits intoazerothcore:masterfrom
TheSCREWEDSoftware:fix_cli

Conversation

@TheSCREWEDSoftware
Copy link
Copy Markdown
Contributor

Applying of file '/home/runner/work/azerothcore-wotlk/azerothcore-wotlk/modules/mod-ptr-template/data/sql/world-optional/som-npc.sql' to database 'acore_world' failed! If you are a user, please pull the latest revision from the repository. Also make sure you have not applied any of the databases with your sql client. You cannot use auto-update system and import sql files from AzerothCore repository with your sql client. If you are a developer, please fix your sql query.
ERROR 1054 (42S22) at line 335: Unknown column 'StatsCount' in 'field list'

Applying of file '/home/runner/work/azerothcore-wotlk/azerothcore-wotlk/modules/mod-ptr-template/data/sql/world-optional/som-vendor.sql' to database 'acore_world' failed! If you are a user, please pull the latest revision from the repository. Also make sure you have not applied any of the databases with your sql client. You cannot use auto-update system and import sql files from AzerothCore repository with your sql client. If you are a developer, please fix your sql query.
ERROR 1054 (42S22) at line 5: Unknown column 'scale' in 'field list'

This PR: azerothcore/azerothcore-wotlk#25372

Introduced that any "%auth%", "%characters%" or "%world%" under .../data/sql/ will be automatically ran, no matter how many "world" exists.

From: data/sql/world-optional
to data/sql/(Optional)/world

TODO: FIX THE QUERIES CONTAINS A LOT OF DEPRECATED COLUMNS

trainer_type,
trainer_spell, trainer_class,
trainer_race;
https://github.com/azerothcore/azerothcore-wotlk/pull/23040/changes#diff-9ca00be03cd25e9254a132d011556d28d1a8e6f3ef28c70fd837cfee8b19ef64R45

https://github.com/azerothcore/azerothcore-wotlk/pull/24956/changes#diff-17896517a9fe208892e5bea09c70835109da2c1546aa9d274f798995e74a37afR19
mechanic_immune_mask
spell_school_immune_mask

AT least, is what i saw when trying to get the fixed but leaving for a later PR.

https://gist.github.com/TheSCREWEDSoftware/e5ebfb3c7e4c1f62fda5183794c0393d

TheSCREWEDSoftware and others added 2 commits April 9, 2026 14:50
TODO: FIX THE QUERIES CONTAINS A LOT OF DEPRECATED COLUMNS

trainer_type,
trainer_spell, trainer_class,
trainer_race;
mechanic_immune_mask
spell_school_immune_mask"

https://gist.github.com/TheSCREWEDSoftware/e5ebfb3c7e4c1f62fda5183794c0393d
@heyitsbench heyitsbench merged commit 2257227 into azerothcore:master Apr 9, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants