Re: effects of load data local on RSS

Michael Widenius <[email protected]> Wed, 6 Mar 2013 23:35:11 +0200
Newsgroups gmane.comp.db.mysql.devel
Message-ID <[email protected]>
hi!

>>>>> "Zardosht" == Zardosht Kasheff <[email protected]> writes:

Zardosht> Here is a stack trace where for LOAD DATA LOCAL, we get a call to
Zardosht> handler::extra with operation set to HA_EXTRA_IGNORE_DUP_KEY

<cut>

I missed the following code (was not totally obvious):

  /* We can't give an error in the middle when using LOCAL files */
  if (read_file_from_client && handle_duplicates == DUP_ERROR)
    ignore= 1;

So yes, LOAD DATA LOCAL has an implicite IGNORE.

Regards,
Monty

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals