Diff for /db/prgsrc/mkRS.pl between versions 1.6 and 1.7

version 1.6, 2005/07/05 20:24:17 version 1.7, 2005/07/05 21:07:04
Line 64  print "Creating word2question table...\n Line 64  print "Creating word2question table...\n
                             KEY idkey (id),                              KEY idkey (id),
                 word   INT UNSIGNED NOT NULL,                   word   INT UNSIGNED NOT NULL, 
                             KEY wordkey (word),                              KEY wordkey (word),
                 questions  MEDIUMBLOB,                  questions  MEDIUMBLOB
                 INDEX(word)                 ) type MyISAM"
                )"  
             )              )
   
         or die "Can't create WORD2QUESTION table: $!\n";          or die "Can't create WORD2QUESTION table: $!\n";
Line 80  print "Creating nests table...\n"; Line 79  print "Creating nests table...\n";
                             KEY w1key (w1),                              KEY w1key (w1),
                 w2   INT UNSIGNED NOT NULL,                  w2   INT UNSIGNED NOT NULL,
                             KEY w2key (w2)                                           KEY w2key (w2)             
         )")          ) type MyISAM")
   
         or die "Can't create NESTS table: $!\n";          or die "Can't create NESTS table: $!\n";
   
Line 97  mydo("CREATE TABLE nf ( Line 96  mydo("CREATE TABLE nf (
                             KEY wordkey (word),                              KEY wordkey (word),
                 flag  CHAR(5),                  flag  CHAR(5),
                 number INT UNSIGNED                  number INT UNSIGNED
   )") or die "Can't create NF table: $!\n";    ) type MyISAM") or die "Can't create NF table: $!\n";
   
   
 mydo("UPDATE Questions SET ProcessedBySearch=NULL");  mydo("UPDATE Questions SET ProcessedBySearch=NULL");

Removed from v.1.6  
changed lines
  Added in v.1.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>