← Back to team overview

maria-developers team mailing list archive

Re: To Sergei:

 

Hi,

How do I go about compiling the plugin in mariadb? I searched online, but
only found the mysql method :
https://dev.mysql.com/doc/refman/5.5/en/compiling-plugin-libraries.html
I'm getting some errors there, but, I wanna know, if it's done differently
or like this?

Thanks




On Thu, May 23, 2013 at 6:28 PM, Sergei Golubchik <serg@xxxxxxxxxxxx> wrote:

> Hi, Samarth!
>
> On May 23, Samarth Mathur wrote:
> > 2 questions:
> >
> > to make .so file from .c, is it necessary for me to compile mariadb
> > after each change? Or is there a shorter way as far as plugins are
> > concerned?
>
> You only need to compile the plugin, you don't need to compile MariaDB
> at all, you can use a binary from our site or as provided by your OS.
>
> > Is there any specific tip you would have as far as coding is
> > concerned? Or does the normal convention of good code, good comments
> > and indentation work alright?
>
> Just normal convention. The usual - see how it's done elsewhere in
> MariaDB and do the same.
>
> Regards,
> Sergei
>
>

Follow ups

References