MySQL embedded and pthreads

Edward Hades edward.hades at gmail.com
Tue Jul 29 18:32:05 CEST 2008


On Tue, Jul 29, 2008 at 5:30 PM, Mark Kretschmann <kretschmann at kde.org> wrote:
> On 7/29/08, Ian Monroe <ian at monroe.nu> wrote:
>> Ok, well it being build issue doesn't change the fact that we should
>>  depend on vanilla mysql embedded. We shouldn't expect distros (let
>>  alone all us developers) to setup special build environments for
>>  Amarok.
>
> That's of course correct, but what I heard from Edward is that an
> unpatched MySQL-e calls exit() at the slightest error, which surely
> isn't optimal. God knows why they did that..

Sorry, I exaggerated the problem slightly. Actually, it calls exit()
in rather serious conditions (like wrong arguments passed at
initialization), so if we test it thoroughly this won't be a problem
(except that if still something wrong happens, amarok will just
silently quit with no error messages, debug output and such).

The fPIC issue seems more important. By the way, if someone uses
amd64, could you check it?
In gentoo, just emerge mysql with +embedded. Then look for
/usr/lib/mysql/libmysqld.a to see if it's PIC.

I'll ping Lenz, maybe they have secret nice package of mysql-e that
they don't know whom to share it with ;)


More information about the Amarok-devel mailing list