mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Adding patch from #2652 fixes SQLite LIMIT statement broken
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5283 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
c4c64fa9df
commit
54159742c0
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class DboSqlite extends DboSource {
|
||||||
}
|
}
|
||||||
$rt .= ' ' . $limit;
|
$rt .= ' ' . $limit;
|
||||||
if ($offset) {
|
if ($offset) {
|
||||||
$rt .= ', ' . $offset;
|
$rt .= ' OFFSET ' . $offset;
|
||||||
}
|
}
|
||||||
return $rt;
|
return $rt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue