Skip to content

Commit 955214b

Browse files
authored
Merge pull request #31 from uepg/dev
Better identention
2 parents b628b35 + b2e30e1 commit 955214b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Database/SybaseConnection.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,8 @@ public function compileOffset($offset, $query, $bindings = array(), $me)
418418
." ORDER BY #tmpTable.idTmp ASC")->fetchAll($me->getFetchMode());
419419

420420
}
421-
}
421+
}
422+
422423
private function queryStringForIdentity($from)
423424
{
424425
$explicitDB = explode('..', $from);
@@ -461,11 +462,13 @@ public function select($query, $bindings = array(), $useReadPdo = true)
461462
if ($me->pretending()) {
462463
return array();
463464
}
465+
464466
if ($this->queryGrammar->getBuilder() != NULL) {
465467
$offset = $this->queryGrammar->getBuilder()->offset;
466468
} else {
467469
$offset = 0;
468470
}
471+
469472
if ($offset > 0) {
470473
return $this->compileOffset($offset, $query, $bindings, $me);
471474
} else {

0 commit comments

Comments
 (0)