Diff for scripts/perl/mysql/mysqldump-convert.pl between version 1.3 and 1.4
| version 1.3, 2004/10/14 13:28:35 |
version 1.4, 2005/04/26 08:49:29 |
|
|
| # - in vim editor use this regexp: /\('\([^'\\]\|\(\\.\)\|\(\\\\\)\)*'\) |
# - in vim editor use this regexp: /\('\([^'\\]\|\(\\.\)\|\(\\\\\)\)*'\) |
| # |
# |
| |
|
| # $Platon: scripts/perl/mysql/mysqldump-convert.pl,v 1.2 2004/10/14 09:35:41 rajo Exp $ |
# $Platon: scripts/perl/mysql/mysqldump-convert.pl,v 1.3 2004/10/14 13:28:35 rajo Exp $ |
| |
|
| use strict; |
use strict; |
| |
|
| Line 64 while (my $line = <STDIN>) { |
|
| Line 64 while (my $line = <STDIN>) { |
|
| print "$insert_command($values);\n"; |
print "$insert_command($values);\n"; |
| $values = ''; |
$values = ''; |
| } |
} |
| |
else { # line end but columns/values list continues on the next line |
| |
# following line is fix for endless loop, DON'T REMOVE them !!! |
| |
$input .= <STDIN>; |
| |
} |
| } |
} |
| } |
} |
| $column_t = 1; |
$column_t = 1; |
Platon Group <platon@platon.org> http://platon.org/
|
|