← Back to team overview

maria-developers team mailing list archive

Possibly a problem in "Allowed to use WITH clauses before SELECT in CREATE ... SELECT and INSERT ... SELECT"

 

Hello Igor,

I was rebasing bb-10.2-compatibility on top of the latest 10.2 and noticed this grammar change:


 create_select_query_specification:
-          SELECT_SYM create_select_part2 create_select_part3 create_select_part4
+          SELECT_SYM opt_with_clause create_select_part2 create_select_part3
+          create_select_part4
+          {
+            Select->set_with_clause($2);
+          }
         ;


I have some questions:

- From my understanding, opt_with_clause should go before SELECT_SYM
  Why does it go after?

- Why this grammar change is not covered in tests?

- What is the MDEV number for this change?


Thanks!