cakephp/cakephp — pull request #5241 by markstory (2014-11-23 03:52:34+00:00)
Title: Fix Incorrect ID in SQLserver

Fixes #5104. I've included @Laykou's proposed changes along with a small tweak to `Table::_insert()` to accommodate SQLserver returning -1 rows when OUTPUT is being used.