Hi Rafal,
I'm sorry about answering so late, but yes, we have considered providing error
reporting to plug-ins such as storage engines. It is likely to be similar to how
errors are reported currently inside the server (e.g., my_error()), but we have
not design for that yet.
If you use these function, you are likely to have to make minimal changes once
we have an error reporting interface in place.
Best wishes,
Mats Kindahl
Rafal Somla wrote:
> Hi Mats,
>
> I am working on a design for backup storage modules (WL#5046). One of
> the aspects of the design is how errors from the modules are reported to
> the module user and then to the final mysqld user. Perhaps you have some
> ideas on that or can provide pointers. I think you were thinking about
> our plugin infrastructure and perhaps considered error reporting as
> well. One particular problem I don't have a good solution for is how to
> get internationalized error descriptions from a module in a correct
> language.
>
> Rafal
>
--
Mats Kindahl
Senior Software Engineer
Database Technology Group
Sun Microsystems