Diff for scripts/perl/oracle/oracledump.pl between version 1.31 and 1.32
| version 1.31, 2008/08/23 18:44:21 |
version 1.32, 2008/08/23 18:45:25 |
|
|
| #!/usr/bin/perl |
#!/usr/bin/perl |
| |
|
| # $Platon: scripts/perl/oracle/oracledump.pl,v 1.30 2008-08-23 14:38:14 nepto Exp $ |
# $Platon: scripts/perl/oracle/oracledump.pl,v 1.31 2008-08-23 18:44:21 nepto Exp $ |
| |
|
| use strict; |
use strict; |
| |
|
| Line 272 $dbh = DBI->connect("dbi:Oracle:$opt_dat |
|
| Line 272 $dbh = DBI->connect("dbi:Oracle:$opt_dat |
|
| #*********************************************************************** |
#*********************************************************************** |
| |
|
| $dbh->{AutoCommit} = 0; |
$dbh->{AutoCommit} = 0; |
| $dbh->{LongReadLen} = 999999; |
$dbh->{LongReadLen} = 5000000; |
| |
|
| $dbh->do("set transaction read only") |
$dbh->do("set transaction read only") |
| || die "Cannot set transaction to read only: $DBI::errstr"; |
|| die "Cannot set transaction to read only: $DBI::errstr"; |
Platon Group <platon@platon.org> http://platon.org/
|
|