summaryrefslogtreecommitdiff
path: root/fml/lib/IO/Adapter/MySQL.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-03-20 09:44:57 +0000
committerfukachan <fukachan>2001-03-20 09:44:57 +0000
commitdb1c5797b32dd075bcf455c5300ed82f9b22b8aa (patch)
treecd9c9f2524dcf5a063f1345b53e8681451ab6d51 /fml/lib/IO/Adapter/MySQL.pm
parent2198c4ce73b096d94ac6cbc591c86eca0a73b054 (diff)
downloadfml8-db1c5797b32dd075bcf455c5300ed82f9b22b8aa.tar.gz
fml8-db1c5797b32dd075bcf455c5300ed82f9b22b8aa.tar.bz2
fml8-db1c5797b32dd075bcf455c5300ed82f9b22b8aa.zip
rewritten to ErrorMessages::Status module for unification of error
buffer handling.
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;
}
}