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:
phpnut 2007-06-16 23:08:20 +00:00
parent c4c64fa9df
commit 54159742c0

View file

@ -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;
} }