CODE
`msgs.quar_type` AS `Quarantine`
(Yes, I'm aware the format is wrong and it needs to be `msgs`.`quar_type`, but just try it.)Immediately after typing the . SQLYog crashes without so much as a GPF dialog. Using the correct format of `msgs`. doesn't cause a crash. (However, it doesn't display auto-complete, either.) It doesn't really matter, but for reproduction's sake, I was adding the field after 'Whitelist'.
CODE
DELIMITER $$;
DROP VIEW IF EXISTS `amavisd`.`Mail Summary`$$
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`192.168.12.%` SQL SECURITY DEFINER VIEW `Mail Summary` AS (select date_format(from_unixtime(`msgs`.`time_num`),get_format(DATETIME, _latin1'USA')) AS `Time`,`mas`.`email` AS `Sender`,`mar`.`email` AS `Recipient`,`msgs`.`spam_level` AS `SpamScore`,`msgrcpt`.`bl` AS `Blacklist`,`msgrcpt`.`wl` AS `Whitelist`,`msgs`.`quar_type` AS `Quarantine`,`msgs`.`client_addr` AS `ClientIP`,`msgs`.`subject` AS `Subject` from (((`msgrcpt` join `msgs` on((`msgs`.`mail_id` = `msgrcpt`.`mail_id`))) join `maddr` `mar` on((`mar`.`id` = `msgrcpt`.`rid`))) join `maddr` `mas` on((`mas`.`id` = `msgs`.`sid`))) order by date_format(from_unixtime(`msgs`.`time_num`),get_format(DATETIME, _latin1'USA')))$$
DELIMITER;$$
DROP VIEW IF EXISTS `amavisd`.`Mail Summary`$$
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`192.168.12.%` SQL SECURITY DEFINER VIEW `Mail Summary` AS (select date_format(from_unixtime(`msgs`.`time_num`),get_format(DATETIME, _latin1'USA')) AS `Time`,`mas`.`email` AS `Sender`,`mar`.`email` AS `Recipient`,`msgs`.`spam_level` AS `SpamScore`,`msgrcpt`.`bl` AS `Blacklist`,`msgrcpt`.`wl` AS `Whitelist`,`msgs`.`quar_type` AS `Quarantine`,`msgs`.`client_addr` AS `ClientIP`,`msgs`.`subject` AS `Subject` from (((`msgrcpt` join `msgs` on((`msgs`.`mail_id` = `msgrcpt`.`mail_id`))) join `maddr` `mar` on((`mar`.`id` = `msgrcpt`.`rid`))) join `maddr` `mas` on((`mas`.`id` = `msgs`.`sid`))) order by date_format(from_unixtime(`msgs`.`time_num`),get_format(DATETIME, _latin1'USA')))$$
DELIMITER;$$