List:Internals« Previous MessageNext Message »
From:joce@presence-pc.com Date:April 7 2007 11:45pm
Subject:Re: Review of second patch for Bug#25615, "Status command doesn't
report anymore the Queries per second avg"
View as plain text  
Hi Sergei,

>  
>   
>>> --- mysql-5.2-ref/regex/Makefile.am	2007-03-02 19:24:43.000000000  +0100
>>> +++ mysql-5.2/regex/Makefile.am	2007-03-23 00:47:50.000000000 +0100
>>> @@ -17,7 +17,7 @@
>>>
>>> INCLUDES =		-I$(top_builddir)/include -I$(top_srcdir)/include
>>> noinst_LIBRARIES =	libregex.a
>>> -LDADD=			libregex.a $(top_builddir)/strings/libmystrings.a
>>> +LDADD=			libregex.a $(top_builddir)/strings/libmystrings.a
> $(top_builddir)/dbug/libdbug.a $(top_builddir)/mysys/libmysys.a
> $(top_builddir)/strings/libmystrings.a
>>>       
>
> I'm not sure it's a good idea to have libmystrings.a depending on
> libmysys.a. It adds a circular dependency, as you can see.
>   
> What caused it ? malloc() ?
>   

Actually, it's libmysys.a which depends on libmystrings.a through the 
use of strmake.
But libmystrings.a depends on libdbug.a because of the DBUG macro in 
decimal.c and libdbug.a depends on libmysys.a, hence the circular 
dependency.
Not sure how to solve this circular dependency.

  Jocelyn
Thread
review of patch for Bug#25615, "Status command doesn't report anymore the Queries per second avg"Chad MILLER20 Mar
  • Re: review of patch for Bug#25615,"Status command doesn't report anymore the Queries per second avg"joce20 Mar
    • Re: review of patch for Bug#25615, "Status command doesn't report anymore the Queries per second avg"Chad MILLER20 Mar
      • Re: review of patch for Bug#25615, "Status command doesn't reportanymore the Queries per second avg"Jocelyn Fournier25 Mar
        • Re: debugger suggestionsChad MILLER26 Mar
          • Re: debugger suggestionsjoce26 Mar
      • [PATCH] Patch for Bug#25615, "Status command doesn't report anymorethe Queries per second avg"Jocelyn Fournier26 Mar
        • Review of second patch for Bug#25615, "Status command doesn't report anymore the Queries per second avg"Chad MILLER2 Apr
          • Re: Review of second patch for Bug#25615, "Status command doesn'treport anymore the Queries per second avg"Baron Schwartz2 Apr
            • Re: Review of second patch for Bug#25615, "Status command doesn't report anymore the Queries per second avg"Chad MILLER2 Apr
          • Re: Review of second patch for Bug#25615,joce2 Apr
          • Re: Review of second patch for Bug#25615, "Status command doesn't report anymore the Queries per second avg"Sergei Golubchik2 Apr
            • Re: Review of second patch for Bug#25615, "Status command doesn'treport anymore the Queries per second avg"joce@presence-pc.com8 Apr
              • Re: Review of second patch for Bug#25615, "Status command doesn't report anymore the Queries per second avg"Sergei Golubchik9 Apr
          • Re: Review of second patch for Bug#25615, "Status command doesn'treport anymore the Queries per second avg"joce@presence-pc.com9 Apr
            • Re: Review of second patch for Bug#25615, "Status command doesn'treport anymore the Queries per second avg"joce@presence-pc.com9 Apr
              • Re: Review of second patch for Bug#25615, "Status command doesn't report anymore the Queries per second avg"Sergei Golubchik9 Apr
              • Re: Review of second patch for Bug#25615, "Status command doesn'treport anymore the Queries per second avg"joce@presence-pc.com9 Apr
                • Re: Review of second patch for Bug#25615, "Status command doesn'treport anymore the Queries per second avg"joce@presence-pc.com9 Apr
                  • Review of fourth patch for Bug#25615, "Status command doesn't report anymore the Queries per second avg"Chad MILLER10 Apr
                    • Re: Review of fourth patch for Bug#25615, "Status command doesn'treport anymore the Queries per second avg"Jocelyn Fournier10 Apr