Get rid of deprecated MySQL variable 'table_type'
Avoid case clause crash when loading permanent rooms