gearman_connection_clone returns empty connections every type
Bug #531481 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
High
|
Eric Day |
Bug Description
Whenever the function gearman_
This code in libgearman/
if (from || connection == NULL)
return connection;
I believe the intended line should be
if (!from || connection == NULL)
return connection;
To indicate that we should return a new connection if a null was passed in.
Related branches
lp:~eday/gearmand/fix-struct-alignment
Merged
into
lp:gearmand/1.0
- Gearman-developers: Pending requested
-
Diff: 93 lines (+25/-4)4 files modifiedlibgearman/configure.h.in (+3/-1)
libgearman/connection.c (+1/-1)
m4/pandora_platform.m4 (+5/-0)
tests/client_test.c (+16/-2)
Changed in gearmand: | |
assignee: | nobody → Eric Day (eday) |
status: | New → Fix Committed |
importance: | Undecided → High |
milestone: | none → 0.13 |
Changed in gearmand: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Oops, I failed to mention, this manifests itself in the MySQL UDF's not working properly with libgearman 0.12