From: Peter Rabbitson Date: Mon, 2 Feb 2009 20:30:53 +0000 (+0000) Subject: Fix db2 test X-Git-Tag: v0.08011~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed50861316d168fc91c5f3d14aef4d50850d10c4;p=dbsrgits%2FDBIx-Class.git Fix db2 test --- diff --git a/t/745db2.t b/t/745db2.t index 6ddb1cd..82475b1 100644 --- a/t/745db2.t +++ b/t/745db2.t @@ -18,7 +18,7 @@ my $schema = DBICTest::Schema->connect($dsn, $user, $pass); my $dbh = $schema->storage->dbh; -$dbh->do("DROP TABLE artist", { RaiseError => 0, PrintError => 0 }); +eval { $dbh->do("DROP TABLE artist") }; $dbh->do("CREATE TABLE artist (artistid INTEGER GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), name VARCHAR(255), charfield CHAR(10));");