diff options
author | Michael Vogel <icarus@dabo.de> | 2012-05-19 14:04:24 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-05-19 14:04:24 +0200 |
commit | 9a940786c18c1c2bd772aec93f1828f67dc45667 (patch) | |
tree | 54114a005e74c8a6d8bad8a490e1d1e41bc4178f /convert_innodb.sql | |
parent | f2c0c40f6e488f1a8e62bda9449b28115f343cac (diff) | |
parent | 513ef2410d9b892c8ebcb7ceac96b97023c3b5a5 (diff) | |
download | volse-hubzilla-9a940786c18c1c2bd772aec93f1828f67dc45667.tar.gz volse-hubzilla-9a940786c18c1c2bd772aec93f1828f67dc45667.tar.bz2 volse-hubzilla-9a940786c18c1c2bd772aec93f1828f67dc45667.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'convert_innodb.sql')
-rw-r--r-- | convert_innodb.sql | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/convert_innodb.sql b/convert_innodb.sql new file mode 100644 index 000000000..9eeb67fe8 --- /dev/null +++ b/convert_innodb.sql @@ -0,0 +1,19 @@ + + +ALTER TABLE `profile` DROP INDEX `pub_keywords` ; +ALTER TABLE `profile` DROP INDEX `prv_keywords` ; + +ALTER TABLE `item` DROP INDEX `title` ; +ALTER TABLE `item` DROP INDEX `body` ; +ALTER TABLE `item` DROP INDEX `allow_cid` ; +ALTER TABLE `item` DROP INDEX `allow_gid` ; +ALTER TABLE `item` DROP INDEX `deny_cid` ; +ALTER TABLE `item` DROP INDEX `deny_gid` ; +ALTER TABLE `item` DROP INDEX `tag` ; +ALTER TABLE `item` DROP INDEX `file` ; + + +SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;') +FROM information_schema.tables +WHERE engine = 'MyISAM'; + |