Hi, Zardosht!
On Jul 09, Zardosht Kasheff wrote:
> Hello,
>
> Is the handler guaranteed to have calls to handler::write_row
> surrounded by handler::start_bulk_insert and handler::end_bulk_insert?
> Or is it possible for a call to write_row to occur without a call to
> start_bulk_insert first.
It is possible.
INSERT t1 VALUES (1,2,3) -- should have no start_bulk_insert/end_bulk_insert
"bulk_insert" is when more than one row is inserted, like
INSERT ... VALUES (...),(...), ...
INSERT ... SELECT
LOAD DATA INFILE
Regards / Mit vielen Grüßen,
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, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring