mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
SQL: optimized transformer fix [#365 bug 4]
Affected tests (forced mode):
main.win
main.selectivity_innodb
main.subselect_cache
main.analyze_stmt_orderby
Related to #226 (909867d014
).
This commit is contained in:
@ -52,7 +52,6 @@ select * from t group by b having b=2 system_time as of timestamp now(6);
|
||||
a b
|
||||
Warnings:
|
||||
Warning 4109 Attempt to read unversioned field `b` in historical query
|
||||
Warning 4109 Attempt to read unversioned field `b` in historical query
|
||||
select a from t where b=2 system_time as of timestamp now(6);
|
||||
a
|
||||
Warnings:
|
||||
@ -71,7 +70,6 @@ select count(*), b from t group by b having b=NULL system_time as of timestamp n
|
||||
count(*) b
|
||||
Warnings:
|
||||
Warning 4109 Attempt to read unversioned field `b` in historical query
|
||||
Warning 4109 Attempt to read unversioned field `b` in historical query
|
||||
select a, b from t;
|
||||
a b
|
||||
1 2
|
||||
@ -85,7 +83,6 @@ select * from t for system_time as of timestamp now(6) group by b having b=2;
|
||||
a b
|
||||
Warnings:
|
||||
Warning 4109 Attempt to read unversioned field `b` in historical query
|
||||
Warning 4109 Attempt to read unversioned field `b` in historical query
|
||||
select a from t for system_time as of timestamp now(6) where b=2;
|
||||
a
|
||||
Warnings:
|
||||
@ -104,7 +101,6 @@ select count(*), b from t for system_time as of timestamp now(6) group by b havi
|
||||
count(*) b
|
||||
Warnings:
|
||||
Warning 4109 Attempt to read unversioned field `b` in historical query
|
||||
Warning 4109 Attempt to read unversioned field `b` in historical query
|
||||
create or replace table t (
|
||||
a int,
|
||||
b int not null without system versioning
|
||||
|
Reference in New Issue
Block a user