Projet

Général

Profil

Révision db2d93dd

Ajouté par Benjamin Luce il y a presque 9 ans

Update to 7.37

Voir les différences:

drupal7/modules/system/system.queue.inc
231 231
    // until an item is successfully claimed or we are reasonably sure there
232 232
    // are no unclaimed items left.
233 233
    while (TRUE) {
234
      $item = db_query_range('SELECT data, item_id FROM {queue} q WHERE expire = 0 AND name = :name ORDER BY created ASC', 0, 1, array(':name' => $this->name))->fetchObject();
234
      $item = db_query_range('SELECT data, item_id FROM {queue} q WHERE expire = 0 AND name = :name ORDER BY created, item_id ASC', 0, 1, array(':name' => $this->name))->fetchObject();
235 235
      if ($item) {
236 236
        // Try to update the item. Only one thread can succeed in UPDATEing the
237 237
        // same row. We cannot rely on REQUEST_TIME because items might be

Formats disponibles : Unified diff