Skip to content

Commit

Permalink
[Scripts] Revert database engine change from #3702. (#3736)
Browse files Browse the repository at this point in the history
InnoDB doesn't like the lengths. Will need to address that in the future.
  • Loading branch information
joligario authored Dec 3, 2023
1 parent 7f54e26 commit 226cc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/scripts/import_13th_floor.pl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sub read_items_file_from_13th_floor_text {

#::: If we don't have items_floor table
if ($has_items_floor eq '') {
$dbh->do("CREATE TABLE `items_floor` (`" . join("` VARCHAR(64) NOT NULL DEFAULT '', `", @fields). "` VARCHAR(64) NOT NULL DEFAULT '', UNIQUE INDEX `ID` (`id`)) COLLATE='latin1_swedish_ci' ENGINE=InnoDB");
$dbh->do("CREATE TABLE `items_floor` (`" . join("` VARCHAR(64) NOT NULL DEFAULT '', `", @fields). "` VARCHAR(64) NOT NULL DEFAULT '', UNIQUE INDEX `ID` (`id`)) COLLATE='latin1_swedish_ci' ENGINE=MyISAM");
$dbh->do("ALTER TABLE `items_floor` CHANGE `id` `id` INT(11) NOT NULL DEFAULT '0'");
printf "Database items_floor created\n";
}
Expand Down

0 comments on commit 226cc3d

Please sign in to comment.