View: nornix_site.vpageresourcelist

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