Issue 1431: xml query click_count error - updated code to use INCR for cubrid and basic updates for the rest

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@12020 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2012-10-31 10:26:49 +00:00
parent f93d0d289d
commit fdcafe536e
4 changed files with 91 additions and 42 deletions

View file

@ -271,11 +271,17 @@
*/
function usesClickCount()
{
return count($this->getClickCountColumns()) > 0;
}
function getClickCountColumns()
{
$click_count_columns = array();
foreach($this->columns as $column){
if($column->show() && $column instanceof ClickCountExpression)
return true;
$click_count_columns[] = $column;
}
return false;
return $click_count_columns;
}
/**