summaryrefslogtreecommitdiff
path: root/sql-files/tools/convert_engine_innodb.sql
diff options
context:
space:
mode:
authorShido <the.keikun@gmail.com>2014-05-30 10:14:31 +0800
committerShido <the.keikun@gmail.com>2014-07-10 23:53:22 +0800
commit3213a3b913ce11c6466f94388e3853232673c45b (patch)
treebc984c9460cdee479f28fdfaf449c3e3dd490a55 /sql-files/tools/convert_engine_innodb.sql
parent3ecf877ba3f6d92bc323522bd166248464f83f79 (diff)
downloadhercules-3213a3b913ce11c6466f94388e3853232673c45b.tar.gz
hercules-3213a3b913ce11c6466f94388e3853232673c45b.tar.bz2
hercules-3213a3b913ce11c6466f94388e3853232673c45b.tar.xz
hercules-3213a3b913ce11c6466f94388e3853232673c45b.zip
Organized sql-tools.
Diffstat (limited to 'sql-files/tools/convert_engine_innodb.sql')
-rw-r--r--sql-files/tools/convert_engine_innodb.sql34
1 files changed, 16 insertions, 18 deletions
diff --git a/sql-files/tools/convert_engine_innodb.sql b/sql-files/tools/convert_engine_innodb.sql
index 5cf74d355..0b7270174 100644
--- a/sql-files/tools/convert_engine_innodb.sql
+++ b/sql-files/tools/convert_engine_innodb.sql
@@ -1,14 +1,24 @@
--
--- Hercules Database Converter ( MyISAM -> InnoDB )
+-- Hercules Database Converter
+-- MyISAM Engine -> InnoDB Engine
--
+ALTER TABLE `account_data` ENGINE = InnoDB;
+ALTER TABLE `acc_reg_num_db` ENGINE = InnoDB;
+ALTER TABLE `acc_reg_str_db` ENGINE = InnoDB;
ALTER TABLE `auction` ENGINE = InnoDB;
+ALTER TABLE `autotrade_data` ENGINE = InnoDB;
+ALTER TABLE `autotrade_merchants` ENGINE = InnoDB;
ALTER TABLE `cart_inventory` ENGINE = InnoDB;
ALTER TABLE `char` ENGINE = InnoDB;
+ALTER TABLE `char_reg_num_db` ENGINE = InnoDB;
+ALTER TABLE `char_reg_str_db` ENGINE = InnoDB;
ALTER TABLE `charlog` ENGINE = InnoDB;
ALTER TABLE `elemental` ENGINE = InnoDB;
ALTER TABLE `friends` ENGINE = InnoDB;
ALTER TABLE `hotkey` ENGINE = InnoDB;
+ALTER TABLE `global_acc_reg_num_db` ENGINE = InnoDB;
+ALTER TABLE `global_acc_reg_str_db` ENGINE = InnoDB;
ALTER TABLE `guild` ENGINE = InnoDB;
ALTER TABLE `guild_alliance` ENGINE = InnoDB;
ALTER TABLE `guild_castle` ENGINE = InnoDB;
@@ -21,8 +31,8 @@ ALTER TABLE `homunculus` ENGINE = InnoDB;
ALTER TABLE `interlog` ENGINE = InnoDB;
ALTER TABLE `inventory` ENGINE = InnoDB;
ALTER TABLE `ipbanlist` ENGINE = InnoDB;
-#ALTER TABLE `item_db` ENGINE = InnoDB;
-#ALTER TABLE `item_db2` ENGINE = InnoDB;
+-- ALTER TABLE `item_db` ENGINE = InnoDB;
+-- ALTER TABLE `item_db2` ENGINE = InnoDB;
ALTER TABLE `login` ENGINE = InnoDB;
ALTER TABLE `mapreg` ENGINE = InnoDB;
ALTER TABLE `sc_data` ENGINE = InnoDB;
@@ -30,8 +40,9 @@ ALTER TABLE `mail` ENGINE = InnoDB;
ALTER TABLE `memo` ENGINE = InnoDB;
ALTER TABLE `mercenary` ENGINE = InnoDB;
ALTER TABLE `mercenary_owner` ENGINE = InnoDB;
-#ALTER TABLE `mob_db` ENGINE = InnoDB;
-#ALTER TABLE `mob_db2` ENGINE = InnoDB;
+-- ALTER TABLE `mob_db` ENGINE = InnoDB;
+-- ALTER TABLE `mob_db2` ENGINE = InnoDB;
+ALTER TABLE `npc_market_data` ENGINE = InnoDB;
ALTER TABLE `party` ENGINE = InnoDB;
ALTER TABLE `pet` ENGINE = InnoDB;
ALTER TABLE `quest` ENGINE = InnoDB;
@@ -43,16 +54,3 @@ ALTER TABLE `sstatus` ENGINE = InnoDB;
ALTER TABLE `storage` ENGINE = InnoDB;
ALTER TABLE `interreg` ENGINE = InnoDB;
-ALTER TABLE `account_data` ENGINE = InnoDB;
-ALTER TABLE `npc_market_data` ENGINE = InnoDB;
-ALTER TABLE `acc_reg_num_db` ENGINE = InnoDB;
-ALTER TABLE `acc_reg_str_db` ENGINE = InnoDB;
-ALTER TABLE `char_reg_num_db` ENGINE = InnoDB;
-ALTER TABLE `char_reg_str_db` ENGINE = InnoDB;
-ALTER TABLE `global_acc_reg_num_db` ENGINE = InnoDB;
-ALTER TABLE `global_acc_reg_str_db` ENGINE = InnoDB;
-ALTER TABLE `autotrade_merchants` ENGINE = InnoDB;
-ALTER TABLE `autotrade_data` ENGINE = InnoDB;
-
-
-