View: nornix_site.vsiteresourcelist

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