ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Upgrading a MySQL Application
Subject:   DBI error checking
Date:   2003-10-22 05:58:22
From:   hmerrill
Good article, but the DBI code lacks error checking. The connect should at least be setting RaiseError *on* (to 1) so that any error with a DBI statement causes a die. Read about DBI error checking by doing 'perldoc DBI' at a command prompt, and searching (using the forward slash '/') for both 'RaiseError' and 'Transactions'.