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

Fixes #4882
May be `null`