Issue 1023 - Bug when paging query with outer join and distinct.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10299 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2012-03-02 15:17:18 +00:00
parent fef0e92afd
commit ad88ec5f8c
4 changed files with 38 additions and 1 deletions

View file

@ -103,6 +103,7 @@
if($this->isStarFunction($column_name)){
return $column_name;
}
if(strpos(strtolower($column_name), 'distinct') !== false) return $column_name;
return $this->escapeColumn($column_name);
}
}