1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Parser, SQL: table-specific FOR SYSTEM_TIME [closes #116]

* Syntax sugar: query-global QUERY FOR SYSTEM_TIME
This commit is contained in:
Aleksey Midenkov
2017-01-13 13:56:01 +00:00
parent 57692d7117
commit 3a64d55aed
11 changed files with 154 additions and 117 deletions

View File

@ -23,7 +23,7 @@ x
create or replace view vt1 as select * from t1;
show create view vt1;
View Create View character_set_client collation_connection
vt1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vt1` AS select `t1`.`x` AS `x` from `t1` where `t1`.`sys_trx_end` = 18446744073709551615 for system_time all latin1 latin1_swedish_ci
vt1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vt1` AS select `t1`.`x` AS `x` from `t1` where `t1`.`sys_trx_end` = 18446744073709551615 query for system_time all latin1 latin1_swedish_ci
drop view vt1;
drop view vt2;
drop table t1;