Merge pull request #3000 from tobiasd/20161208-convert

only convert tables in friendica DB
This commit is contained in:
Michael Vogel 2016-12-09 18:13:27 +01:00 committed by GitHub
commit 5065def530
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
# script to convert tables from MyISAM to InnoDB
# change the %PLACEHOLDER% to the actual name of your Friendica DB
SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;')
FROM information_schema.tables
WHERE engine = 'MyISAM';
WHERE engine = 'MyISAM' AND `table_schema` = '%PLACEHOLDER%';