1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00
Commit Graph

680 Commits

Author SHA1 Message Date
Aleksey Midenkov
aa292666cc Parser: moved 'for system_time' before alias
Due to standard (see 7.6 <table reference>).
2017-07-23 17:08:00 +03:00
Aleksey Midenkov
c2f6214671 Tests: renamed optimized_fields to optimized 2017-07-21 07:53:58 +03:00
Eugene Kosov
c99bd3ac1a Tests: truncate.test: get rid of transaction number 2017-07-20 17:15:11 +03:00
Eugene Kosov
f8b6256992 SQL: disallow ALTER CHANGE of system fields [fixes #213] 2017-07-19 23:06:07 +03:00
Eugene Kosov
909867d014 SQL: optimized fields fix for NOT NULL [fixes #226] 2017-07-13 18:48:30 +03:00
Aleksey Midenkov
91c8b43e77 Parser: syntax for query system_time [closes #230]
Eliminated `QUERY FOR`.
2017-07-12 12:10:13 +03:00
Aleksey Midenkov
60e456df33 SQL: system_time propagation from derived table [fixes #228] 2017-07-12 10:36:52 +03:00
Aleksey Midenkov
dcb54040bc SQL: VTQ testing iface moved to plugin [closes #224] 2017-07-07 17:52:23 +03:00
Eugene Kosov
42a0289de9 Tests: optimized fields 2017-07-06 16:19:16 +03:00
Eugene Kosov
1903b407da SQL: ignore columns WITHOUT VERSIONING [fixes #220] 2017-07-04 17:45:14 +03:00
Aleksey Midenkov
bdcce58fad IB: long names in information_schema 2017-07-04 12:09:33 +03:00
Aleksey Midenkov
72de7721b9 SQL: No implicit versioning when created from SELECT [closes #219] 2017-07-03 17:38:59 +03:00
Aleksey Midenkov
4b0f1284ee SQL: revisit error messages [closes #217] 2017-07-03 14:04:34 +03:00
Aleksey Midenkov
177e477553 Tests: VTQ iso_level check fix 2017-06-29 15:11:06 +03:00
Eugene Kosov
229c528110 SQL: hide system fields instead of drop [closes #210] 2017-06-29 12:07:16 +03:00
Eugene Kosov
46d572dde4 SQL: default engine fix in create from versioned [fixes #206] 2017-06-29 12:07:16 +03:00
Eugene Kosov
2442a81eff IB: read lock on partitioned table read [closes #200]
Closes #204
2017-06-22 18:37:49 +03:00
Eugene Kosov
ac5eb9771e SQL: Versioned SHOW CREATE TABLE [closes #125] 2017-06-19 15:21:48 +03:00
Aleksey Midenkov
448374a228 SQL, IB: (0.10) VTMD tracking [closes #124]
IB: Fixes in logic when to do versioned or usual row updates. Now it is
able to do unversioned updates for versioned tables just by disabling
`TABLE_SHARE::versioned` flag.

SQL: DDL tracking for:
* RENAME TABLE, ALTER TABLE .. RENAME TO;
* DROP TABLE;
* data-modifying operations (f.ex. ALTER TABLE .. ADD/DROP COLUMN).
2017-06-19 15:21:39 +03:00
Eugene Kosov
414651c80a SQL: ALTER ADD COLUMN order fix 2017-05-25 15:25:04 +03:00
kevg
45f6acd296 Scripts: VTMD table [closes #122] 2017-05-24 18:46:56 +03:00
kevg
ec0002e908 Parser: useful attributes for AS ROW fields 2017-05-18 17:46:04 +03:00
kevg
fe71bdf568 Tests: order independence of versioning fields 2017-05-16 13:44:55 +03:00
kevg
0185872449 SQL: versioning DDL part I [closes #172] 2017-05-05 20:36:40 +03:00
Aleksey Midenkov
44506f2669 SQL: vers_ sysvars renamed to versioning_ 2017-05-05 20:36:40 +03:00
Aleksey Midenkov
7e0ff13d7a SQL: derived fixes [related to #185] 2017-05-05 20:36:39 +03:00
Aleksey Midenkov
7153ff85a1 SQL: derived tables improvements [closes #185] 2017-05-05 20:36:38 +03:00
Aleksey Midenkov
642525b9ad Tests: cte_recursive, simple (new plans)
Author: Alvin Richards
2017-05-05 20:36:38 +03:00
Aleksey Midenkov
1e8a81dea6 SQL: CREATE VIEW and misc improvements [fixes #183] 2017-05-05 20:36:37 +03:00
Aleksey Midenkov
27a6ef0a9e IB,SQL: Innopart UPDATE [fixes #178] 2017-05-05 20:36:37 +03:00
kevg
ecd18bc099 SQL: allow FOR SYSTEM_TIME BEFORE for SELECT queries [closes #170] 2017-05-05 20:36:35 +03:00
Aleksey Midenkov
9e9af76eaf SQL: vers_current_time refactoring [closes #117]
* session sysvars;
* moved value parsing to set variable phase;
* renamed 'temporal_current_timestamp' to 'vers_current_time'.
2017-05-05 20:36:34 +03:00
kevg
f77a4135bf SQL: parsing of QUERY FOR [fixes #159]
Reverts 46e36bbffa7cd8d9eb861a22755025ffe8751449 - SQL: fix assertion failure in parser
2017-05-05 20:36:34 +03:00
Aleksey Midenkov
67cd92b6f4 SQL, IB: Copy history via CREATE .. SELECT [closes #157, #152] 2017-05-05 20:36:33 +03:00
kevg
14f007f907 SQL: versioning in embedded JOINs [fixes #160] 2017-05-05 20:36:33 +03:00
kevg
e8ae9f1ae9 SQL: VIEW NATURAL JOIN TABLE [fixes #161] 2017-05-05 20:36:33 +03:00
Aleksey Midenkov
1894fab11a Tests: split versioning.select into combinations 2017-05-05 20:36:32 +03:00
kevg
fb0b3e5902 SQL: NATURAL LEFT JOIN for versioned tables [fixes #156] 2017-05-05 20:36:32 +03:00
kevg
5a08bd3515 Tests: subqueries with JOINed tables with different FOR SYSTEM_TIME clauses [closes #154] 2017-05-05 20:36:32 +03:00
kevg
7fd549095f IB: return correct sys_trx_end in TRIGGER after UPDATE [fixes #100] 2017-05-05 20:36:31 +03:00
kevg
4ebf680c9b SQL: VIEW over a JOIN of versioned tables [fixes #153] 2017-05-05 20:36:31 +03:00
kevg
9ea02899f8 SQL: nested equi-join for versioned table [fixes #150] 2017-05-05 20:36:31 +03:00
kevg
a37cf5258b SQL: CREATE VIEW with view_list from versioned table [fixes #151] 2017-05-05 20:36:30 +03:00
kevg
d85e7a5e01 SQL: NATUAL JOIN on view + table [fixes #148] 2017-05-05 20:36:30 +03:00
kevg
7a22dd3716 SQL: INNER JOIN USING with versioned tables [fixes #147] 2017-05-05 20:36:29 +03:00
kevg
9355e3e966 SQL: CREATE TABLE LIKE for versioned tables [fixes #146] 2017-05-05 20:36:29 +03:00
kevg
17745222a1 SQL: incorrect check on specific JOIN query [fixes #145] 2017-05-05 20:36:29 +03:00
kevg
204b54d2d9 SQL: create versioned tmp table from query [fixes #144] 2017-05-05 20:36:28 +03:00
kevg
b8bfc06b26 SQL, Tests: temporal_current_timestamp for setting default AS OF timestamp [closes #117] 2017-05-05 20:36:28 +03:00
Aleksey Midenkov
fc7da4dd4f IB, SQL: InnoDB partitioning [closes #118]
* native InnoDB partitioning for BY SYSTEM_TIME partitions.
2017-05-05 20:36:28 +03:00