Jira issue originally created by user shaneneuerburg:
I am working with a table that has columns that start with the word "from" (fromNumber, fromCity, etc). When SQLServerPlatform->doModifyLimitQuery is called, "from" in the names are incorrectly replaced. I suggest adding a whitespace requirement after FROM in the preg_replace on this line:
$query = preg*replace('/\sFROM/i', ", ROW_NUMBER() OVER ($over) AS doctrine*rownum FROM", $query);
$query = preg*replace('/\sFROM\s/i', ", ROW_NUMBER() OVER ($over) AS doctrine*rownum FROM ", $query);
Comment created by shaneneuerburg:
Issue was closed with resolution "Fixed"