Comment 4 for bug 1130515

Revision history for this message
Brian Aker (brianaker) wrote : Re: [Bug 1130515] Re: Too much memory allocated for drizzle query

The latest libdrizzle fixed quoting such it no longer does the 2x
allocation (that design pattern came from MySQL).

On Feb 20, 2013, at 19:55, Keyur <email address hidden> wrote:

> gearmand originally used libdrizzle to do the escaping...this change
> where gearmand did the escaping itself is recent, not sure why.
>
> Totally agree that removing it would be best :)
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1130515
>
> Title:
> Too much memory allocated for drizzle query
>
> Status in Gearman Server and Client Libraries:
> In Progress
>
> Bug description:
> Typo in the drizzle queue escape-query code where it reserves
> (query_length * query_length/2) bytes. This obviously gets too heavy
> when the payload is large :)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gearmand/+bug/1130515/+subscriptions