COM_STMT_BULK_EXECUTE

You are viewing an old version of this article. View the current version here.

Executes bulk insert a previously prepared statement.

(Since version 10.2.7) Command that return a resultset will return an error (Error packet).

Direction

Client to server.

Fields

Flags

bulk flags

64Return generated auto-increment IDs
128Send types to server

parameter type flag:

128unsigned

parameter indicator

0NONEValue follow
1NULLValue is null
2DEFAULTFor INSERT/UPDATE, value is default
3IGNOREValue is default one for insert, Is ignored for update

COM_STMT_EXECUTE response

The server can answer with 3 different responses:

  • 0xff: ERR_Packet if any errors occur.
  • 0x00: OK_packet when query execution works without resultset.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.