yiisoft/yii2 — pull request #3350 by Fourteenmeister (2014-05-05 00:57:50+00:00)
Title: Update QueryBuilder.php

This alternative solution LIMIT, OFFSET problem SQL Server version older than 2012.
I think it looks more elegant than pull request #3241