From a5f1b500c4f7fa0363de19178c06c6aa9172b35f Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Wed, 6 Nov 2013 09:41:56 +0000 Subject: [PATCH] Et si je faisait AVEC ma modif... --- install/mysql.sql | 9 ++++++--- install/upgrades/3.2.1~a.sql | 13 ++++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/install/mysql.sql b/install/mysql.sql index b9fa7011..d2677114 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -671,7 +671,8 @@ select distinct concat(`m`.`login`,'@',`v`.`value`) AS `mail`, `m`.`mail` AS `alias` from - ((`membres` `m` join `variable` `v`) join `domaines` `d`) + `membres` `m`, + `variable` `v` where `v`.`name` = 'mailname_bounce' @@ -682,10 +683,12 @@ select distinct concat('alterncpanel','@',`v`.`value`) AS `mail`, `m`.`mail` AS `alias` from - ((`membres` `m` join `variable` `v`) join `domaines` `d`) + `membres` `m`, + `variable` `v` where - (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000); + (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000) +; -- -- Structure de la table `piwik_users` diff --git a/install/upgrades/3.2.1~a.sql b/install/upgrades/3.2.1~a.sql index 575c5fee..5ab5f631 100644 --- a/install/upgrades/3.2.1~a.sql +++ b/install/upgrades/3.2.1~a.sql @@ -27,7 +27,8 @@ select distinct concat(`m`.`login`,'@',`v`.`value`) AS `mail`, `m`.`mail` AS `alias` from - ((`membres` `m` join `variable` `v`) join `domaines` `d`) + `membres` `m`, + `variable` `v` where `v`.`name` = 'mailname_bounce' @@ -38,7 +39,13 @@ select distinct concat('alterncpanel','@',`v`.`value`) AS `mail`, `m`.`mail` AS `alias` from - ((`membres` `m` join `variable` `v`) join `domaines` `d`) + `membres` `m`, + `variable` `v` where - (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000); + (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000) + +; + + +