- Timestamp:
- Mar 30, 2010, 9:40:04 AM (16 years ago)
- Location:
- branches/eam_branches/20100225
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippToPsps/scripts/pspsSchema2xml.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20100225
- Property svn:mergeinfo changed
/trunk merged: 27513-27516,27518-27522,27524-27525
- Property svn:mergeinfo changed
-
branches/eam_branches/20100225/ippToPsps/scripts/pspsSchema2xml.pl
r27517 r27526 89 89 90 90 while (<FILE>) { 91 if ($_ =~ m/.*CREATE TABLE .*$tableName/) {91 if ($_ =~ m/.*CREATE TABLE\s+dbo\.$tableName\s*\(/i) { 92 92 93 93 close (FILE); … … 209 209 } 210 210 211 if($reading && $_ =~ m/^\ )/) {$reading = 0;}211 if($reading && $_ =~ m/^\s*\)\s*/) {$reading = 0;} 212 212 213 213 if(!$reading) {next;} … … 218 218 if (!$line) {next;} 219 219 if (length($line) < 5) {next;} 220 if ($line =~ m/^ --/) {next;}220 if ($line =~ m/^\s*--/) {next;} 221 221 if ($line =~ m/\/\*/) {next;} 222 222 if ($line =~ m/\*\//) {next;}
Note:
See TracChangeset
for help on using the changeset viewer.
