Files
MaxScale/query_classifier/test/qc_mysqlembedded_unsupported.test
Johan Wikman 9d97902899 MXS-1307 CTE tests pass
There are some issues still
- With recursive CTEs qc_mysqlembedded and qc_sqlite agree upon
  the real columns, but disagree on the CTE related "virtual"
  columns. That's largely irrelevant though.
- qc_sqlite cannot parse "SET STATEMENT var=... FOR stmt",
  but it will be classified as QUERY_TYPE_GSYSVAR_WRITE.
  This is not directly CTE related.
2017-08-10 15:23:42 +03:00

20 lines
644 B
Plaintext

#MXS qc_mysqlembedded does not return all functions
#MXS qc_get_function_info : ERR: != /()
insert t1 (data) values (default), (1/0), ('dead beef');
#MXS qc_mysqlembedded does not return all functions
#MXS qc_get_function_info : ERR: coalesce() != case() coalesce() if()
insert into t1 values
(if(1, 9223372036854775808, 1)),
(case when 1 then 9223372036854775808 else 1 end),
(coalesce(9223372036854775808, 1));
#MXS qc_mysqlembedded
#MXS qc_get_function_info : ERR: <(QC_USED_IN_WHERE) != <(QC_USED_IN_WHERE) >(QC_USED_IN_WHERE)
#
create view v1 as
select a from t2 where a < 3
union
select a from t2 where a > 4;