Bug #110636 mysqlx::abi2::r0::Row::set does not set the value in the row
Submitted: 7 Apr 2023 18:37 Modified: 15 Jun 2023 12:41
Reporter: David Kendell Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / C++ Severity:S3 (Non-critical)
Version:8 OS:Windows
Assigned to: MySQL Verification Team CPU Architecture:x86
Tags: c++ connector, row change

[7 Apr 2023 18:37] David Kendell
Description:
I wrote the following code:
Row row = Row(Value(productname), Value(productdescription), Value(category), Value(price));
	if (productdescription == "") {
		row[1] = Value(nullptr);
	}
products.insert("productname", "productdescription", "category", "price").values(row).execute();

If row[pos] = Value(nullptr) is replaced with row.set(pos, Value(nullptr)), then the value at pos does not change.

How to repeat:
Call set on a Row object. The value at the position will not change.
[15 May 2023 12:41] MySQL Verification Team
Hello David,

Thank you for the bug report.
Could you please provide repeatable test case (exact steps, sample project, etc. - please make it as private if you prefer) to reproduce this issue at our end?

Regards,
Ashwini Patil
[16 Jun 2023 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".