IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2010, 9:40:04 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/eam_branches/20100225
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20100225

  • branches/eam_branches/20100225/ippToPsps/scripts/pspsSchema2xml.pl

    r27517 r27526  
    8989
    9090            while (<FILE>) {
    91                 if ($_ =~ m/.*CREATE TABLE.*$tableName/) {
     91                if ($_ =~ m/.*CREATE TABLE\s+dbo\.$tableName\s*\(/i) {
    9292
    9393                    close (FILE);
     
    209209        }
    210210
    211         if($reading && $_ =~ m/^\)/) {$reading = 0;}
     211        if($reading && $_ =~ m/^\s*\)\s*/) {$reading = 0;}
    212212
    213213        if(!$reading) {next;}
     
    218218        if (!$line) {next;}
    219219        if (length($line) < 5) {next;}
    220         if ($line =~ m/^--/) {next;}
     220        if ($line =~ m/^\s*--/) {next;}
    221221        if ($line =~ m/\/\*/) {next;}
    222222        if ($line =~ m/\*\//) {next;}
Note: See TracChangeset for help on using the changeset viewer.