Updates the MySQL parser to properly parse CREATE VIEW statements that
contain a field list after the view name. This allows the parser
to understand statements created by the MySQL producer.
Prior to this change, this statement would be parsed properly:
CREATE
VIEW view_foo AS
SELECT id, name FROM thing;
But this one would not:
CREATE
VIEW view_foo (id, name) AS
SELECT id, name FROM thing;
(The latter statement is the same one added to the tests in this PR. It's taken directly from the mysql producer tests.)
Updates the MySQL parser to properly parse CREATE VIEW statements that contain a field list after the view name. This allows the parser to understand statements created by the MySQL producer.
Prior to this change, this statement would be parsed properly:
But this one would not:
(The latter statement is the same one added to the tests in this PR. It's taken directly from the mysql producer tests.)