MXS-1364 Collect field usage of CASE and BETWEEN

This commit is contained in:
Johan Wikman
2017-08-22 13:32:49 +03:00
parent 72831c86ac
commit 83ae19cd68
5 changed files with 92 additions and 29 deletions

View File

@ -92,3 +92,9 @@ with recursive src(counter) as
#MXS as (select a, min(a) over () from t1 where a = 1);"
create view win_view
as (select a, min(a) over () from t1 where a = 1);
select t2.fld3 from t2 where companynr = 58 and fld3 like "%imaginable%";
# qc_get_function_info : ERR: =()[QC_USED_IN_WHERE] like(t2.fld3)[QC_USED_IN_WHERE] != =()[QC_USED_IN_WHERE] like(fld3)[QC_USED_IN_WHERE]
# qc_sqlite is not capable of amending a field name with the table name, in cases
# where there is only table. However, neither is qc_mysqlembedded always either.
# E.g. "select a from t where length(a) = 5" results in just a.