Changeset 362 for trunk/Modules/NetworkShare/update.php
- Timestamp:
- Jan 18, 2012, 9:32:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkShare/update.php
r40 r362 9 9 $Hosts = array(); 10 10 $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"); 12 12 while($Row = $DbResult->fetch_array()) 13 13 { … … 29 29 30 30 // Oprav a zoptimalizuj tabulku 31 $Database->select_db('share');31 //$Database->select_db('share'); 32 32 echo('Opravuji tabulku...'); 33 $Database->query('REPAIR TABLE items');33 $Database->query('REPAIR TABLE NetworkShareItem'); 34 34 echo("\nOptimalizuji tabulku..."); 35 $Database->query('OPTIMIZE TABLE items');35 $Database->query('OPTIMIZE TABLE NetworkShareItem'); 36 36 37 37 echo("\nDoba procháení ".date("H:i:s",$Rozdil-3600)."\n\n");
Note:
See TracChangeset
for help on using the changeset viewer.