View: nornix_site.vthemeresourcelist

Structure
NameTypeNullKeyDefaultExtraComment
Idvarbinary(220)YES
Namevarchar(64)NO
MimeTypevarchar(48)NO
MimeTypeDescriptionvarchar(255)YES
Descriptionvarchar(127)NO
Widthint(10) unsignedNO0
Heightint(10) unsignedNO0
Handlervarchar(64)YES
Lenbigint(10)NO0
Iconvarchar(48)NO
Extensionvarchar(12)NO
ThemeNoint(10) unsignedNO0
Information
AlgoritmUpdateable
MERGE YES
Explain
IdSelect typeTableTypePossible keysKeyRefRowsExtra
1SIMPLEtrALL7Using temporary; Using filesort
1SIMPLEcteq_refPRIMARYPRIMARYnornix_site.tr.ContentTypeNo1
1SIMPLEmteq_refPRIMARYPRIMARYnornix_site.tr.MimeTypeNo1
1SIMPLEmeALL32Using where
CREATE ALGORITHM=MERGE DEFINER=`root`@`localhost` SQL SECURITY DEFINER 
VIEW `nornix_site`.`vthemeresourcelist` AS 
(select concat_ws(_utf8'|',
`tr`.`Name`,
`mt`.`No`,
`tr`.`ThemeNo`)
AS `Id`,
`tr`.`Name` AS `Name`,
`mt`.`Name` AS `MimeType`,
`nornix_system`.`get_description`(`mt`.`DescNo`)
AS `MimeTypeDescription`,
`tr`.`Description` AS `Description`,
`tr`.`Width` AS `Width`,
`tr`.`Height` AS `Height`,
coalesce(`ct`.`Handler`,
_utf8'ContentTypeBinary')
AS `Handler`,
length(`tr`.`Data`)
AS `Len`,
`mt`.`Icon` AS `Icon`,
`me`.`Extension` AS `Extension`,
`tr`.`ThemeNo` AS `ThemeNo` 
from (((`nornix_site`.`themeresource` `tr` join `nornix_system`.`mimetype` `mt` on ((`mt`.`No` =
`tr`.`MimeTypeNo`)))
left join `nornix_system`.`contenttype` `ct` on ((`tr`.`ContentTypeNo` = `ct`.`No`)))
join `nornix_system`.`mimeextension` `me` on ((`me`.`MimeTypeNo` = `tr`.`MimeTypeNo`)))
order by `tr`.`Name`,
`mt`.`Name`)