Closed mattChiaravalloti closed 2 years ago
There are a couple of places where the
dialect
property is being set: in the smoketest, and the demo test utils. It would be good to remove these as well.
Thanks for catching that! The other uses of "dialect", such as the comments in MySQLConnection
and MongoSQLConnection
, will stay for now until that future ticket that removes MySQL*
dead code is done!
evergreen merge
This PR removes the
DIALECT
property from theMongoDriver
class. This also requires removing theMySQLIntegrationTest
class since there is no longer a way to create aMySQLConnection
through theMongoDriver
api. There is also some other clean upMongoDriverTest
-- removingDIALECT
testing -- andbuild.gradle
-- removing the reference toMySQLIntegrationTest
.This PR does not remove all of the now-dead code that supports the
MySQL
dialect. That should be done as part of a separate follow-up ticket that considers exactly how the codebase should be factored after theMySQL
stuff is removed. For example, will we want to keep the abstract classes everywhere? Will we want to keep theMongoSQL
prefix on everything? etc. This PR is just removing the dialect from the public-facing api by no longer supporting theDIALECT
property.