[R2DBC-48] after spec batch clarification trailing batch should fail Created: 2022-01-28  Updated: 2022-02-07  Resolved: 2022-02-07

Status: Closed
Project: MariaDB Connector/R2DBC
Component/s: batch
Affects Version/s: None
Fix Version/s: 1.1.2

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.5d
Original Estimate: 0.5d


 Description   

after spec batch clarification : https://github.com/r2dbc/r2dbc-spi/issues/229
driver is too permissive in that area and should be corrected.

i.e.:

statement.bind(0, 0).add()
  .bind(0, 1).add()
  .bind(0, 2).add().execute();

should fails.

correct behavior is :

statement.bind(0, 0).add()
  .bind(0, 1).add()
  .bind(0, 2).execute();



 Comments   
Comment by Diego Dupin [ 2022-02-07 ]

corrected with 76f058b7fec4e9bfadce36d4da56d4f8b86ce848

Generated at Thu Feb 08 03:32:17 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.