Diff for scripts/perl/oracle/oracledump.pl between version 1.9 and 1.10
| version 1.9, 2004/01/23 14:09:08 |
version 1.10, 2004/01/23 14:12:42 |
|
|
| #!/usr/bin/perl |
#!/usr/bin/perl |
| |
|
| # $Platon: scripts/perl/oracle/oracledump.pl,v 1.8 2004/01/23 13:54:52 nepto Exp $ |
# $Platon: scripts/perl/oracle/oracledump.pl,v 1.9 2004/01/23 14:09:08 nepto Exp $ |
| |
|
| use strict; |
use strict; |
| |
|
|
|
| |
|
| if ( !defined $opt_no_create_info ) { |
if ( !defined $opt_no_create_info ) { |
| if ($opt_mysql_compliant_dump) { |
if ($opt_mysql_compliant_dump) { |
| printf( " %1s%-22s%-15s%-21s%-8s\n", |
printf( " %1s%-22s %-15s %-21s %-8s\n", |
| ( $c != 1 ? ',' : ' ' ), |
( $c != 1 ? ',' : ' ' ), |
| lc( $row[0] ), |
lc( $row[0] ), |
| ( $row[1] eq 'NUMBER' |
( $row[1] eq 'NUMBER' |
|
|
| : 'NOT NULL' ) |
: 'NOT NULL' ) |
| ); |
); |
| } else { |
} else { |
| printf( " %1s%-22s%-15s%-21s%-8s\n", |
printf( " %1s%-22s %-15s %-21s %-8s\n", |
| ( $c != 1 ? ',' : ' ' ), |
( $c != 1 ? ',' : ' ' ), |
| lc( $row[0] ), |
lc( $row[0] ), |
| ( $row[1] eq 'NUMBER' |
( $row[1] eq 'NUMBER' |
Platon Group <platon@platon.org> http://platon.org/
|
|