IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 24, 2009, 11:20:15 AM (17 years ago)
Author:
jhoblitt
Message:

start volume handling refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/scripts/dirize.pl

    r24521 r24539  
    4444# non-existant value
    4545$db->do("SET FOREIGN_KEY_CHECKS=0");
    46 $db->do("UPDATE storage_object SET dir_id = 0");
     46#$db->do("UPDATE storage_object SET dir_id = 0");
    4747
    4848# completely reset the directory table
    49 $db->do("DELETE FROM directory");
    50 $db->do("ALTER TABLE directory AUTO_INCREMENT = 1");
     49#$db->do("DELETE FROM directory");
     50#$db->do("ALTER TABLE directory AUTO_INCREMENT = 1");
    5151# make sure these duplicates can't happen again
    52 $db->do("alter table directory add unique key(dirname,parent_id)");
     52#$db->do("alter table directory add unique key(dirname,parent_id)");
    5353# seed the root ('/') directory
    54 $db->do("INSERT INTO directory VALUES(1, '/', 1)");
     54#$db->do("INSERT INTO directory VALUES(1, '/', 1)");
    5555
    5656my $i = 0;
Note: See TracChangeset for help on using the changeset viewer.