Fixes #4882 : new Sql($adapter) should propagate with sql statement 

Fixes #4882
Can refactor entirely:

```php
if (! $adapterPlatform) {
    $adapterPlatform = $this->adapter ? $this->adapter->getPlatform() : new Sql92();
}
```