Ignore:
Timestamp:
Jan 18, 2012, 9:32:07 PM (13 years ago)
Author:
chronos
Message:
  • Upraveno: Doplněny rozšiřující typy s jinou velikostí.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkShare/update.php

    r40 r362  
    99  $Hosts = array();
    1010  $StartTime = GetMicrotime();
    11   $DbResult = $Database->query("SELECT * FROM hosts WHERE online=1 AND (block=0 OR name='centrala') AND (name!='GATE') AND user>0");
     11  $DbResult = $Database->query("SELECT * FROM NetworkDevice WHERE Online=1 AND (block=0 OR Name='centrala') AND (name!='GATE') AND user>0");
    1212  while($Row = $DbResult->fetch_array())
    1313  {
     
    2929 
    3030  // Oprav a zoptimalizuj tabulku
    31   $Database->select_db('share');
     31  //$Database->select_db('share');
    3232  echo('Opravuji tabulku...');
    33   $Database->query('REPAIR TABLE items');
     33  $Database->query('REPAIR TABLE NetworkShareItem');
    3434  echo("\nOptimalizuji tabulku...");
    35   $Database->query('OPTIMIZE TABLE items');
     35  $Database->query('OPTIMIZE TABLE NetworkShareItem');
    3636 
    3737  echo("\nDoba procháení ".date("H:i:s",$Rozdil-3600)."\n\n");
Note: See TracChangeset for help on using the changeset viewer.