List:Internals« Previous MessageNext Message »
From:Sergei Golubchik Date:August 11 2008 7:25am
Subject:Re: Can we disable REPLACE stmt in MySQL if SE can't support it ?
View as plain text  
Hi!

On Aug 11, Krunal Bauskar wrote:
> - Is there a way to disable REPLACE stmt if SE can't support it.
>   REPLACE internally is expanded as sequence of write, delete, update
>   row and so disabling directly at SE API level doesn't look feasible.

Yes, it does not.
Why you engine cannot support REPLACE if it's internally expanded as
sequence of write, delete, update row ?
 
Regards / Mit vielen Grüssen,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  Principal Software Engineer/Server Architect
/_/  /_/\_, /___/\___\_\___/  Sun Microsystems GmbH, HRB München 161028
       <___/                  Sonnenallee 1, 85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Häring
Thread
Can we disable REPLACE stmt in MySQL if SE can't support it ?Krunal Bauskar11 Aug
  • Re: Can we disable REPLACE stmt in MySQL if SE can't support it ?Sergei Golubchik11 Aug
    • RE: Can we disable REPLACE stmt in MySQL if SE can't support it ?Rick James11 Aug
      • Re: Can we disable REPLACE stmt in MySQL if SE can't support it ?Sergei Golubchik11 Aug