mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 05:09:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@970 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
49582a9e09
commit
736d569538
6 changed files with 103 additions and 67 deletions
|
|
@ -149,7 +149,7 @@
|
|||
* @brief 결과를 fetch
|
||||
**/
|
||||
function _fetch($result) {
|
||||
if($this->errno!=0 || !$result) return;
|
||||
if($this->isError() || !$result) return;
|
||||
|
||||
while($tmp = sqlite_fetch_array($result, SQLITE_ASSOC)) {
|
||||
unset($obj);
|
||||
|
|
@ -399,7 +399,7 @@
|
|||
}
|
||||
|
||||
$result = $this->_query($query);
|
||||
if($this->errno!=0) return;
|
||||
if($this->isError()) return;
|
||||
$data = $this->_fetch($result);
|
||||
|
||||
$buff = new Object();
|
||||
|
|
@ -436,7 +436,7 @@
|
|||
$index = implode(',',$index_list);
|
||||
$query = sprintf('SELECT %s FROM %s %s ORDER BY %s LIMIT %d, %d', $columns, $table, $condition, $index, $start_count, $navigation->list_count);
|
||||
$result = $this->_query($query);
|
||||
if($this->errno!=0) {
|
||||
if($this->isError()) {
|
||||
$buff = new Object();
|
||||
$buff->total_count = 0;
|
||||
$buff->total_page = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue