When I use,
$dbh = DBI->connect("dbi:Informix:database", {PrintError => 1, AutoCommit =>
0});
the transaction doesn't seem to start and all the updates are committed
immediately and a "commit" or "rollback" statement gives a "Not In
Transaction" error.

But, if I do it using two statements as below, it seems to work fine.
$dbh = DBI->connect("dbi:Informix:database", {PrintError => 1});
$dbh->{AutoCommit}=0;


Is there anything I am missing in the first case ?

Thanks.
Eldho Thomas
Enterprise Rent-A-Car.

Reply via email to