Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2.14, 10.3.6
-
None
Description
Current Bulk command (COM_STMT_BULK_STMT) permit insert, update, but not DELETE operations.
That is a pain because for JDBC, API permit to indicate if the query will have a resultset or not.
I don't see any reason for not permitting it.
One advantage is having only one OK_Packet as a results compared to sending lots of queries with each one having an OK_Packet
Change is just setting a flag to permit this kind of operation.
The current result is an error "This command is not supported in the prepared statement protocol yet"
Attachments
Issue Links
- blocks
-
CONPY-20 executemany() error
-
- Closed
-
- relates to
-
MDEV-12471 BULK Command
-
- Closed
-
revision-id: a80a08e8e7523203170a26bdef8c4824a3dc9afc (mariadb-10.2.19-51-ga80a08e8e75)
parent(s): ad3346dddf419aed3e5d16066471fd5022af1795
author: Oleksandr Byelkin
committer: Oleksandr Byelkin
timestamp: 2018-12-13 17:06:26 +0100
message:
MDEV-16278: Missing DELETE operation in COM_STMT_BULK_STMTAllow array binding for DELETE, test it.
—