in reply to Re: (jeffa) Re: dbi insert
in thread dbi insert
The RaiseError value means that any subsequent DBI error will cause your program to die with an error message. AutoCommit explicitly controls whether you require a commit call. mysql used not to support transactions, so committing was irrelevant. I don't know if this is still true.my $dbh=DBI->connect('DBI:mysql:um', 'root', '', {AutoCommit=>1, RaiseError=>1});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: (jeffa) Re: dbi insert
by Anonymous Monk on Oct 17, 2001 at 15:48 UTC | |
by tommyw (Hermit) on Oct 17, 2001 at 16:03 UTC | |
by jeffa (Bishop) on Oct 17, 2001 at 19:51 UTC |