projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
20f2705
)
* Fixed the bug in the test that made it fail in the END block even if all tests...
Norbert Buchmuller [Wed, 18 Feb 2009 04:07:56 +0000 (
05:07
+0100)]
t/73oracle.t
patch
|
blob
|
blame
|
history
diff --git
a/t/73oracle.t
b/t/73oracle.t
index
ee00ed5
..
51cc932
100644
(file)
--- a/
t/73oracle.t
+++ b/
t/73oracle.t
@@
-149,7
+149,7
@@
is($st->pkid1, 55, "Oracle Auto-PK without trigger: First primary key set manual
# clean up our mess
END {
- if($dbh = $schema->storage->dbh) {
+ if($schema && ($dbh = $schema->storage->dbh)) {
$dbh->do("DROP SEQUENCE artist_seq");
$dbh->do("DROP SEQUENCE pkid1_seq");
$dbh->do("DROP SEQUENCE pkid2_seq");