mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Issue 1745: "document.getDocumentList" error on MSSQL
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10460 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e8315e2efe
commit
ce0d9e5b4c
1 changed files with 2 additions and 0 deletions
|
|
@ -525,6 +525,7 @@
|
|||
}
|
||||
|
||||
$count_query .= (__DEBUG_QUERY__&1 && $output->query_id)?sprintf (' '.$this->comment_syntax, $this->query_id):'';
|
||||
$this->param = $queryObject->getArguments();
|
||||
$result_count = $this->_query($count_query, $connection);
|
||||
$count_output = $this->_fetch($result_count);
|
||||
$total_count = (int)$count_output->count;
|
||||
|
|
@ -555,6 +556,7 @@
|
|||
$start_count = ($page - 1) * $list_count;
|
||||
|
||||
$query .= (__DEBUG_QUERY__&1 && $queryObject->query_id)?sprintf (' '.$this->comment_syntax, $this->query_id):'';
|
||||
$this->param = $queryObject->getArguments();
|
||||
$result = $this->_query ($query, $connection);
|
||||
if ($this->isError ())
|
||||
return $this->queryError($queryObject);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue