List:Commits« Previous MessageNext Message »
From:Konstantin Osipov Date:October 3 2008 9:00pm
Subject:Re: bzr commit into mysql-6.0 branch (marc.alff:2837) Bug#38781
View as plain text  
* Marc Alff <Marc.Alff@stripped> [08/10/02 22:26]:
>  2837 Marc Alff	2008-10-02
>       Bug#38781 (Error handling and trace logging mixed in Maria)
>       
>       --- Proof of concept patch, not ready for production ---
>       
>       This patch removes the change implemented in the server error handling
>       code (my_message_sql) for Maria, and remove the use of the following flags:
>       - ME_JUST_INFO
>       - ME_JUST_WARNING
>       
>       The design constraints applicable to the problem are:
>       - the Maria code can not have a static dependency on mysql
>       - the Maria code needs to print to the server log files (when embedded)
>       - the Maria code needs to print to stderr (when not embedded)
>       - the server needs to be independend of Maria logic in my_message_sql
>       
>       The solution consists of:
>       - defining a Plugin -> Server interface, usable by every plugin.
>         This is a general need.
>       - Provide this server interface to a plugin at initialization.
>       - For embedded code (such as unit tests or stand alone binaries like
>         maria_chk), provide an alternate implementation of this server interface.

Thanks for working on this. I think this is very much in line with
what we need. SIGNAL code very much depends on cleaning this
up, too. I hope you and Davi will be able to agree on coding
details. 

-- 
Thread
bzr commit into mysql-6.0 branch (marc.alff:2837) Bug#38781Marc Alff2 Oct
  • Re: bzr commit into mysql-6.0 branch (marc.alff:2837) Bug#38781Konstantin Osipov3 Oct
  • Re: bzr commit into mysql-6.0 branch (marc.alff:2837) Bug#38781Sergei Golubchik3 Oct
    • Re: bzr commit into mysql-6.0 branch (marc.alff:2837) Bug#38781Konstantin Osipov3 Oct