On 12/23/2011 08:18 PM, Stefan Sayer wrote:
shouldn't the db layer and driver be smart enough
to do insert ... on
duplicate key update at least where it's supported?
my fear is that such "first insert then update" policy will affect the
performance. can create noise in the log on some db backends too..