Diff for scripts/perl/oracle/oracledump.pl between version 1.21 and 1.22
| version 1.21, 2008/08/21 08:22:43 |
version 1.22, 2008/08/21 08:23:48 |
|
|
| #!/usr/bin/perl |
#!/usr/bin/perl |
| |
|
| # $Platon: scripts/perl/oracle/oracledump.pl,v 1.20 2008-08-20 13:44:51 nepto Exp $ |
# $Platon: scripts/perl/oracle/oracledump.pl,v 1.21 2008-08-21 08:22:43 nepto Exp $ |
| |
|
| use strict; |
use strict; |
| |
|
| Line 271 $dbh = DBI->connect("dbi:Oracle:$opt_dat |
|
| Line 271 $dbh = DBI->connect("dbi:Oracle:$opt_dat |
|
| #*********************************************************************** |
#*********************************************************************** |
| |
|
| $dbh->{AutoCommit} = 0; |
$dbh->{AutoCommit} = 0; |
| |
$dbh->{LongReadLen}=500000; |
| |
|
| $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/
|
|