[MDEV-16010] Too many rows with AS OF point_in_the_past_or_NULL Created: 2018-04-24 Updated: 2018-05-12 Resolved: 2018-05-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Versioned Tables |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Aleksey Midenkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I create and populate a versioned trx-id based table, then I delete one record immediately:
Now I query the table:
Looks good. The deleted record is not seen. Now I query the table using a point in the past, before the table was created:
It returned both records. Looks wrong. I'd expect an empty set. Now I query the table using NULL as the point in time:
It returned both records. Looks wrong. I'd expect an empty set again. |
| Comments |
| Comment by Alexander Barkov [ 2018-04-24 ] | ||||||
|
If I use a point in time in the future:
it returns one row as expected:
|