[MDEV-6259] DELETE with OFFSET Created: 2014-05-22 Updated: 2015-11-17 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | roberto spadim | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Allow DELETE statment with OFFSET, this allow a DELETE like SQLITE: it's interesting with history table applications where a fixed number of rows is wanted, for example
many inserts....
an crond job executed at every hour:
from SQLITE: A negative LIMIT value is interpreted as "no limit". this will remove all rows from this 'channel' that are older than the 5000th row —
get the date_unix value, and execute:
|