
The comments which do not alter the functionality of a query are now removed from canonicalized queries. Also fixed missing semicolon in the comment removal regex and added tests for comment removal.
12 lines
191 B
Plaintext
12 lines
191 B
Plaintext
select ?;
|
|
select ?;
|
|
select ?;
|
|
select /*! ? + */ ?;
|
|
select /*!? ? + */ ?;
|
|
select /*!? ? + */ ?;
|
|
SELECT ? ;
|
|
SELECT ? /*! +? */;
|
|
SELECT ? /*!? +? */;
|
|
SELECT ? /*M! +? */;
|
|
SELECT ? /*M!? +? */;
|