summaryrefslogtreecommitdiff
path: root/fml/lib/IO/Adapter/MySQL.pm
diff options
context:
space:
mode:
Diffstat (limited to 'fml/lib/IO/Adapter/MySQL.pm')
-rw-r--r--fml/lib/IO/Adapter/MySQL.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/IO/Adapter/MySQL.pm b/fml/lib/IO/Adapter/MySQL.pm
index 28a93433..cbc97a96 100644
--- a/fml/lib/IO/Adapter/MySQL.pm
+++ b/fml/lib/IO/Adapter/MySQL.pm
@@ -94,7 +94,7 @@ sub configure
$me->{ _schema } = $pkg;
}
else {
- error_reason($self, $@);
+ error_set($self, $@);
return undef;
}
}
@@ -140,7 +140,7 @@ sub get_next_value
join(" ", @row);
}
else {
- $self->error_reason( $DBI::errstr );
+ $self->error_set( $DBI::errstr );
undef;
}
}