Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 530... Línea 530...
530
                    // system memory busy storing $dataset contents.
530
                    // system memory busy storing $dataset contents.
Línea 531... Línea 531...
531
 
531
 
532
                    // Insert from the beginning.
532
                    // Insert from the beginning.
Línea 533... Línea 533...
533
                    $remaining = array_splice($newcalculations, $batchsize);
533
                    $remaining = array_splice($newcalculations, $batchsize);
534
 
534
 
535
                    // Sorry mssql and oracle, this will be slow.
535
                    // Sorry mssql, this will be slow.
536
                    $DB->insert_records('analytics_indicator_calc', $newcalculations);
536
                    $DB->insert_records('analytics_indicator_calc', $newcalculations);
537
                    $newcalculations = $remaining;
537
                    $newcalculations = $remaining;
538
                }
538
                }