Changeset 89198 in spip-zone


Ignore:
Timestamp:
May 9, 2015, 12:03:16 PM (4 years ago)
Author:
cedric@…
Message:

Des logs en plus pour cette maj qui peut etre longue

Location:
_core_/plugins/revisions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/revisions/paquet.xml

    r89137 r89198  
    22        prefix="revisions"
    33        categorie="edition"
    4         version="1.8.2"
     4        version="1.8.3"
    55        etat="stable"
    66        compatibilite="[3.1.0-dev;3.1.*]"
  • _core_/plugins/revisions/revisions_administrations.php

    r85791 r89198  
    122122function revisions_repair_unserialized_fragments(){
    123123        $res = sql_select("*","spip_versions_fragments","compress=".intval(-1));
     124        $n = sql_count($res);
     125        spip_log("$n fragments a verifier","maj");
    124126        while($row = sql_fetch($res)){
    125127                $fragment = $row['fragment'];
     
    139141                        }
    140142                }
    141                 sql_updateq("spip_versions_fragments",$set,"id_fragment=".intval($row['id_fragment'])." AND id_objet=".intval($row['id_objet'])." AND objet=".sql_quote($row['objet'])." AND version_min=".intval($row['version_min']));
     143                sql_updateq("spip_versions_fragments",$set,$w = "id_fragment=".intval($row['id_fragment'])." AND id_objet=".intval($row['id_objet'])." AND objet=".sql_quote($row['objet'])." AND version_min=".intval($row['version_min']));
     144                #spip_log($w,"maj");
    142145
    143146                if (time()>_TIME_OUT) return;
Note: See TracChangeset for help on using the changeset viewer.