Browse Source

Noter le probleme de http://core.spip.org/issues/2505

svn/root/tags/plugins/statistiques/0.4.5
cedric@yterium.com 11 years ago
parent
commit
e48e2b8d3d
  1. 1
      genie/popularites.php

1
genie/popularites.php

@ -71,6 +71,7 @@ function genie_popularites_dist($t) {
#spip_query("ALTER TABLE spip_referers CHANGE visites_jour visites_veille INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',CHANGE visites_veille visites_jour INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'");
#spip_query("UPDATE spip_referers SET visites_jour=0");
// version 4 fois plus rapide que la premiere, en une seule requete
// ATTENTION : peut poser probleme cf http://core.spip.org/issues/2505
sql_alter("TABLE spip_referers DROP visites_veille,
CHANGE visites_jour visites_veille INT(10) UNSIGNED NOT NULL DEFAULT '0',
ADD visites_jour INT(10) UNSIGNED NOT NULL DEFAULT '0'");

Loading…
Cancel
Save