[Buildroot] [PATCH 2/2] mysql: disable debugging option

Marcelo Gutierrez kuyurix at gmail.com
Mon Feb 3 23:03:10 UTC 2014


>
> On Mon,  3 Feb 2014 17:51:19 +0000, kuyurix at gmail.com wrote:
> > From: Marcelo Gutiérrez <kuyurix at gmail.com>
> >
> > it is not necessary to use $(ENABLE_DEBUG) with "--without-server"
> option.
>
> Can you expand on this a little bit?
>

When you use --without-server option, there is no debugging log, because
will work only when MySQL server is enabled.

MySQL 5.1 Reference Manual:
http://dev.mysql.com/doc/refman/5.1/en/debugging-server.html

No, not necessarily. ENABLE_DEBUG is a global variable that contains
> --enable-debug if BR2_ENABLE_DEBUG is enabled, or is empty otherwise.
> See: http://git.buildroot.net/buildroot/tree/package/Makefile.in#n357.
>

To configure MySQL with debugging code, we need to use the
--with-debugoption. But right now we only compile MySQL client, so
that option it's not
necessary.

Also, I'm not sure to understand why this patch is PATCH 2/2. I don't
> think I have received a PATCH 1/2 in this series. Is this expected?
>

You're right, there is no PATCH 1/2 . My bad. I didn't change the subject.

Best,
Marcelo


2014-02-03 Thomas Petazzoni <thomas.petazzoni at free-electrons.com>:

> Hello,
>
> On Mon,  3 Feb 2014 17:51:19 +0000, kuyurix at gmail.com wrote:
> > From: Marcelo Gutiérrez <kuyurix at gmail.com>
> >
> > it is not necessary to use $(ENABLE_DEBUG) with "--without-server"
> option.
>
> Can you expand on this a little bit?
>
> > BTW, the value of "ENABLE_DEBUG" is empty.
>
> No, not necessarily. ENABLE_DEBUG is a global variable that contains
> --enable-debug if BR2_ENABLE_DEBUG is enabled, or is empty otherwise.
> See: http://git.buildroot.net/buildroot/tree/package/Makefile.in#n357.
>
> Also, I'm not sure to understand why this patch is PATCH 2/2. I don't
> think I have received a PATCH 1/2 in this series. Is this expected?
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140203/725e74b1/attachment-0002.html>


More information about the buildroot mailing list