[CONCPP-56] Empty stream should result in empty DB value, not a NULL Created: 2021-01-12 Updated: 2021-07-30 |
|
| Status: | Open |
| Project: | MariaDB Connector/C++ |
| Component/s: | General |
| Affects Version/s: | 0.9.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently there is a testcase ensuring it is NULL. I guess the idea was to make possible to insert NULL value with a stream. But at the same time that makes impossible to insert empty value with a stream. While NULL value can be set with either setNull or nullptr passed to setBlob. |