mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
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:
parent
f93d0d289d
commit
fdcafe536e
4 changed files with 91 additions and 42 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue