/[drupal]/contributions/modules/emfield/emfield.install
ViewVC logotype

Diff of /contributions/modules/emfield/emfield.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.6.13, Sun Nov 8 13:10:45 2009 UTC revision 1.1.6.14, Sun Nov 8 13:19:00 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: emfield.install,v 1.1.6.12 2009/10/05 19:05:10 aaron Exp $  // $Id: emfield.install,v 1.1.6.13 2009/11/08 13:10:45 aaron Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 187  function _emfield_update_fix_data($field Line 187  function _emfield_update_fix_data($field
187    }    }
188    
189    // Work our way through the field values 50 rows at a time.    // Work our way through the field values 50 rows at a time.
190    $limit = 50;    // Note that if PHP times out here, you can set the
191      // emfield_install_fix_data_rows variable in settings.php to a lower number.
192      // If you get this error, please report it so we can find a better limit
193      // to work with; I'm not sure if this value will work in the majority of
194      // cases. Thanks, Aaron.
195      $limit = variable_get('emfield_install_fix_data_rows', 50);
196    if (empty($context['sandbox']['providers'])) {    if (empty($context['sandbox']['providers'])) {
197      $result = db_query_range("SELECT * FROM {{$context['sandbox']['table']}} WHERE vid > %d ORDER BY vid ASC", $context['sandbox']['current_node'], 0, $limit);      $result = db_query_range("SELECT * FROM {{$context['sandbox']['table']}} WHERE vid > %d ORDER BY vid ASC", $context['sandbox']['current_node'], 0, $limit);
198    }    }

Legend:
Removed from v.1.1.6.13  
changed lines
  Added in v.1.1.6.14

  ViewVC Help
Powered by ViewVC 1.1.2