← Back to team overview

maria-developers team mailing list archive

Re: help creating error messages

 

thanks sergei!!
i will put this in my 'source code manual'


2013/7/10 Sergei Golubchik <serg@xxxxxxxxxxx>

> Hi, Roberto!
>
> On Jul 09, Roberto Spadim wrote:
> > hi guys, how could i create a new error / warning message in mariadb?
> > 1) how to add the message text to error list (there's a list, right?)
>
> in sql/share/errmsg-utf8.txt
> at the end, where mariadb-specific error messages are
>
> > 2) how to return (send) a error to client
>
> my_error or my_printf_error
>
> > 3) how to add a message to 'warning list' and after get it with SHOW
> > WARNINGS
>
> push_warning or push_warning_printf
>
> Regards,
> Sergei
>



-- 
Roberto Spadim
SPAEmpresarial

Follow ups

References