Help for this page

Select Code to Download


  1. or download this
    o   Switching AutoCommit mode from on to off or vice versa may fail.  
    +You should always check for errors, when changing AutoCommit mode.  T
    +he suggested way of doing so is using the DBI flag RaiseError.  If yo
    +u don't like RaiseError, you have to use code like the following:
    
    ...
    if ($dbh->{'AutoCommit'}) {
    # An error occurred!
    }