Hi Tobias, Yes, we have a program that connects to a db using libdrizzle. libdrizzle4 provides the same API as libdrizzle0 did and the UDS related stuff also there: nm -D /usr/lib/libdrizzle.so.4.0.0 |grep _uds 000000000000bf6a T drizzle_con_add_uds 000000000000c0a7 T drizzle_con_add_uds_listen 000000000000adcc T drizzle_con_set_uds 000000000000ad68 T drizzle_con_uds
The code in question is conn.c which is very similar in both libdrizzle0 and libdrizzle4 except for being compiled with g++ and some additional bug fixes and regression as this one. Testcase: ------------------------------ drizzle_return_t retval; drizzle_result_st *result; drizzle_con_st *conn; drizzle_st *drizzle; drizzle = drizzle_create(NULL); conn = drizzle_con_create(drizzle, NULL); drizzle_con_set_uds(conn, "/path/to/uds"); drizzle_con_set_auth(conn, "user", "pass"); drizzle_con_set_db(conn, "db"); drizzle_con_add_options(conn, DRIZZLE_CON_MYSQL); // the following call triggers the connect() and the infinite loop drizzle_result_st *result = drizzle_query_str(conn, NULL, "SELECT 1", &retval); ------------------------------ There is a patch at https://bugs.launchpad.net/libdrizzle/+bug/1098855 which should fix this. Regards, Botond On Thu, 27 Feb 2014 18:57:25 +0100 Tobias Frost <[email protected]> wrote: > Control: severity -1 normal > > Hallo, > > thanks for the report. > > As far as I can see, libdrizzle0 is a different codebase than > libdrizzle4. though they seem to share the same roots. > Libdrizzle0 was indeed removed and is no longer available in Debian, one > reason was that there was drizzle and also no reverse dependencies on > libdrizzle0. So I assume you are talking about some private software > which is broken by libdrizzle4... > > However, the code looks to me as there is no UDS support in libdrizzle4? > Can you provide a testcase so I can approach upstream more efficiently? > > Thanks! > > -- > Tobias > > > > Am Donnerstag, den 27.02.2014, 11:49 +0100 schrieb Botond Botyanszki: > > Package: libdrizzle4 > > Version: 1:7.1.36-stable-1 > > Severity: important > > > > There is a bug in libdrizzl4 which effectively makes > > it useless when using a unix domain socket: > > https://bugs.launchpad.net/libdrizzle/+bug/1098855 > > The old libdrizzle0 worked properly and was available > > in squeeze but has been removed from stable. > > Trying to force users upgrading to a broken lib is not > > very nice. > > > > > > -- System Information: > > Debian Release: jessie/sid > > APT prefers stable > > APT policy: (500, 'stable'), (10, 'testing') > > Architecture: amd64 (x86_64) > > Foreign Architectures: i386 > > > > Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) > > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: > > LC_ALL set to en_US.UTF-8) > > Shell: /bin/sh linked to /bin/bash > > > > Versions of packages libdrizzle4 depends on: > > ii libc6 2.17-97 > > ii libgcc1 1:4.8.2-10 > > ii libstdc++6 4.8.2-10 > > > > libdrizzle4 recommends no packages. > > > > libdrizzle4 suggests no packages. > > > > -- no debconf information > > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

