Commit graph

177379 commits

Author SHA1 Message Date
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
7d2ed77e31 SQL: SIGSEGV in create_tmp_table() [fixes #179]
tests are in main,rpl suites
2017-05-05 20:36:37 +03:00
Aleksey Midenkov
6ac4dfedf4 Tests: sys_vars.sysvars_server_notembedded result (3)
Related to #175
2017-05-05 20:36:36 +03:00
Aleksey Midenkov
915963ba30 SQL: SIGABRT fix on versioned partitioning error [fixes #177] 2017-05-05 20:36:36 +03:00
Aleksey Midenkov
e72e3cd01f IB: redundant btr_pcur_move_to_prev_page() removed 2017-05-05 20:36:36 +03:00
kevg
ecc6cd95c4 SQL: Default 'simple' algorithm for InnoDB 'AS OF' [closes #175] 2017-05-05 20:36:36 +03:00
kevg
a1d42a6f20 Misc: code cleanup 2017-05-05 20:36:36 +03:00
kevg
06ad9c01a6 Misc: unneeded code after c17b5a3c973dff544613043b74db7d131e0cb55a 2017-05-05 20:36:36 +03:00
kevg
d64702d43a SQL: different results when querying a VIEW from PREPARED STATEMENT and without it [fixes #176] 2017-05-05 20:36:35 +03:00
kevg
ecd18bc099 SQL: allow FOR SYSTEM_TIME BEFORE for SELECT queries [closes #170] 2017-05-05 20:36:35 +03:00
kevg
4af3cb82e6 IB: MIN/MAX trx_id by querying VTQ with commit ts [closes #168] 2017-05-05 20:36:35 +03:00
Aleksey Midenkov
994cdf1b7a Parser: Oracle mode fix 2017-05-05 20:36:35 +03:00
kevg
d85fa88676 Misc: disable clang warning 'offset for non-POD type' 2017-05-05 20:36:34 +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
Aleksey Midenkov
b240671c04 Tests: sys_vars.sysvars_server_notembedded result (2)
Related to #157
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
f8b562f5e7 Scripts: capture_warnings.sh missed errors and exit status fix 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
Aleksey Midenkov
7a525e7e93 Parser: no implicit NOT NULL for system fields [fixes #163] 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
kevg
21e8b22f53 Misc: vers_select_conds_t::init_from_sysvar() 2017-05-05 20:36:32 +03:00
kevg
352d83569b SQL: versioning for tmp HEAP tables created from IB tables [closes #158] 2017-05-05 20:36:32 +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
92c7a87119 Misc: vers_setup_select() Item_field ctor fix
Related to #150
2017-05-05 20:36:31 +03:00
Aleksey Midenkov
77f23b3e49 Tests: sys_vars.sysvars_server_notembedded result
Related to: #32, #117
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
Aleksey Midenkov
4782b74023 Misc: warnings fix
related to b0419561a3475ff3464316c7104455685819acca
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
Aleksey Midenkov
0e01038936 SQL: forced, hidden versioning [closes #32] 2017-05-05 20:36:30 +03:00
Aleksey Midenkov
cbb674282a SQL: moved VTQ items to separate file 2017-05-05 20:36:29 +03:00
Aleksey Midenkov
afe64a450e IB: moved VTQ funcs to separate file 2017-05-05 20:36:29 +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
kevg
fb801289f3 IB, Tests: ALTER with ALGORITHM=INPLACE for InnoDB [closes #87] 2017-05-05 20:36:28 +03:00
kevg
bcc8ba78bc SQL, Tests: versioning for nested queries and CTE [closes #74] 2017-05-05 20:36:27 +03:00
kevg
c9b2980c4f Scripts: fix Travis label in README.md 2017-05-05 20:36:27 +03:00
kevg
7aa3ebdd18 SQL, Tests: FOR SYSTEM_TIME for VIEWs [closes #98] 2017-05-05 20:36:27 +03:00
kevg
5853266fab Style: condition rewrite 2017-05-05 20:36:27 +03:00
Aleksey Midenkov
e7ac369a72 Scripts: print_warnings deps fix 2017-05-05 20:36:26 +03:00