db3be33ec8
MDEV-16783 Assertion `!conds' failed in mysql_delete upon 2nd execution of SP with DELETE HISTORY
...
* remove assertion
* do not setup `conds` if it's already cached
Fixes #823
2018-08-24 11:20:06 +02:00
21eccff625
MDEV-15979 DELETE HISTORY from a table with transaction-precise versioning causes Assertion `table_list->vers_conditions.type == SYSTEM_TIME_BEFORE' failure
...
* Fix versioning.truncate,trx_id to create transaction-based tables
* Fix SYSTEM_TIME_BEFORE condition for VERS_TRX_ID
2018-05-17 15:33:42 +02:00
17f8e0ecdf
unify error messages a bit
2018-02-24 01:28:45 +01:00
f38ef43013
cleanup: remove *.opt files from the versioning suite
...
use include/have_xxx.inc when some feature needs to be present
(because --xxx in the opt file will fail if the xxx is not compiled in)
set variables in the test, not on the command line, to avoid unnecessary
server restarts (they're must slower than SET).
2018-02-23 15:33:23 +01:00
9f6a7ed2d7
SQL: Truncate history of partitioned table [ fixes #399 , closes #403 ]
...
also, don't rotate versioning partitions for DELETE HISTORY
originally by: Aleksey Midenkov
2018-02-23 15:33:21 +01:00
5c760d952b
Parser: default SYSTEM_TIME ALL for DELETE HISTORY
2017-12-21 10:48:48 +03:00
7eff2080fd
MDEV-14687 DELETE HISTORY in prepared stmt crash [ fixes #421 ]
...
Also fixes broken truncate after 617e108fb6
2017-12-20 16:12:32 +03:00
c5d0c38efc
MDEV-14676 Redundancy in error codes
...
ER_VERS_NOT_VERSIONED vs ER_VERSIONING_REQUIRED
2017-12-19 22:05:25 +03:00
617e108fb6
s/TRUNCATE ... TO/DELETE HISTORY FROM ... BEFORE/
2017-12-19 16:35:38 +03:00
8ba06032ae
MDEV-14684 Assertion `table' failed in mysql_delete
...
SQL: disable TRUNCATE table_name TO statement for VIEWs
2017-12-19 15:12:11 +03:00
4624e565f3
System Versioning 1.0 pre6
...
Merge remote-tracking branch 'mariadb/bb-10.3-temporal-serg' into trunk
2017-12-15 18:12:18 +03:00
ab5ec0f346
SQL: disable truncate history on partitioned [ fixes #399 ]
2017-12-14 19:11:02 +03:00
5bf14f93a4
Tests: fix combinations
2017-12-04 00:49:44 +03:00
1e3620cc39
Tests: commit_id, truncate for Windows fix [ #307 ]
2017-11-27 16:31:18 +03:00
a49239b57a
SQL: truncate syntax and privilege [ closes #229 ]
2017-09-08 10:22:24 +03:00
d3d2ea9fd5
SQL, Parser: system_time logic and syntax fixes [ closes #237 ]
2017-08-08 17:12:16 +03:00
c2c8808a16
SQL: compare TRX_ID fields against timestamps [ closes #231 ]
2017-08-03 16:01:16 +03:00
c99bd3ac1a
Tests: truncate.test: get rid of transaction number
2017-07-20 17:15:11 +03:00
91c8b43e77
Parser: syntax for query system_time [ closes #230 ]
...
Eliminated `QUERY FOR`.
2017-07-12 12:10:13 +03:00