doctrine/dbal — pull request #160 by dtrethewey (2012-06-07 08:50:43+00:00)
Title: Prevent repeat instantiation of reserved keywords class

In the getReservedKeywordsList() method in AbstractPlatform the keywords class for the current platform is instantiated on each request.

When running migrations, this method can be called thousands of times resulting in poor performance.

I've simply added an internal variable to hold this instance and check for existence before re-instantiating.