Hi Vincent,

To briefly thank you for your patches. It makes sense to include them
in the mainstram release but they require a bit of testing before that.

It is likely these will not make it to release 0.14.2, which is very
close by now.

Cheers,
Paolo

On Fri, Dec 07, 2012 at 04:12:39PM +0100, Vincent Bernat wrote:
> Hi!
> 
> Here is a patch to use INSERT ... ON DUPLICATE KEY UPDATE instead of
> just UPDATE. This increases the performance by an order of magnitude
> with MySQL. This relies on the fact that the WHERE clause is
> equivalent to the primary key.
> 
> There is no option for this because it supported by MySQL since ages.
> 
> There also a side fix because on 64 bit arch, %lu is for a long int
> which is usually not uint32_t. printf should use PRIu64 and PRIu32.


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to