mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Checked with http://sqlite.org/lang_select.html
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@263 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5f0e5a1c59
commit
63052f1d64
1 changed files with 1 additions and 2 deletions
|
@ -205,8 +205,7 @@ class DBO_SQLite extends DBO
|
|||
*/
|
||||
function selectLimit($limit, $offset=null)
|
||||
{
|
||||
// :TODO: Please verify this with SQLite, untested.
|
||||
return " LIMIT {$limit}".($offset? " OFFSET {$offset}": null);
|
||||
return " LIMIT {$limit}".($offset? ", {$offset}": null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue