mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
commit
dda4c3ab48
@ -81,6 +81,8 @@ class SQLite3QueryBuilder extends DBQueryBuilder {
|
|||||||
$clause = "{$nl}";
|
$clause = "{$nl}";
|
||||||
if($limit['limit'] !== null) {
|
if($limit['limit'] !== null) {
|
||||||
$clause .= "LIMIT {$limit['limit']} ";
|
$clause .= "LIMIT {$limit['limit']} ";
|
||||||
|
} else {
|
||||||
|
$clause .= "LIMIT -1 ";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($limit['start']) && is_numeric($limit['start']) && $limit['start'] !== 0) {
|
if(isset($limit['start']) && is_numeric($limit['start']) && $limit['start'] !== 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user