[CONC-245] Add a new command for PS bulk operations Created: 2017-03-14  Updated: 2017-03-14  Resolved: 2017-03-14

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.2

Type: Task Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Won't Do Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-12256 Fix BULK INSERT to be able to use it ... Closed

 Description   

Use a different command if client sends array of parameters for insert/update/delete.
(see also MDEV-12256)



 Comments   
Comment by Georg Richter [ 2017-03-14 ]

After some discussion we decided not add a new command, instead server and client need to check the capability flags:

  • for servers < 10.2 or MySQL
    • use old format
  • for MariaDB server > 10.2:
    • set iteration_count= 0 for old format (no array binding)
    • set iteration_count to array size for array binding
Generated at Thu Feb 08 03:03:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.