Skip to content

Table aowow_spellrange missed in sql dump #454

@unsektor

Description

@unsektor

I took fresh master branch 647be4a and tried to setup aowow from scratch (while moving #450 upon fresh changes) and got an error:

aowow-1  | 18:17:02          [build] gathering data for glyphs
aowow-1  | 18:17:02  [WARN]  WARNING - mysqli_query(): (42S02/1146): Table 'aowow.aowow_spellrange' doesn't exist @ /var/www/html/includes/libs/DbSimple/Mysqli.php:165
aowow-1  | 18:17:02  [WARN]  WARNING -  at /var/www/html/includes/components/dbtypelist.class.php line 276 @ /var/www/html/includes/database.class.php:93

while running

php ./aowow --build=glyphs

I tried to search aowow_spellrange in sql dump files, but found nothing. However related DDL exists in master-deprecated branch in setup/db_structure.sql file.

--
-- Table structure for table `aowow_spellrange`
--

DROP TABLE IF EXISTS `aowow_spellrange`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `aowow_spellrange` (
  `id` tinyint unsigned NOT NULL,
  `rangeMinHostile` tinyint unsigned NOT NULL,
  `rangeMinFriend` tinyint unsigned NOT NULL,
  `rangeMaxHostile` mediumint unsigned NOT NULL,
  `rangeMaxFriend` mediumint unsigned NOT NULL,
  `rangeType` tinyint unsigned NOT NULL,
  `name_loc0` varchar(27) DEFAULT NULL,
  `name_loc2` varchar(27) DEFAULT NULL,
  `name_loc3` varchar(27) DEFAULT NULL,
  `name_loc4` varchar(27) DEFAULT NULL,
  `name_loc6` varchar(27) DEFAULT NULL,
  `name_loc8` varchar(27) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

Was this table missed or removed intentionally ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugi broke something

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions