From 54159742c00f9a6d9caa935d9e4b7bebd9e0d777 Mon Sep 17 00:00:00 2001 From: phpnut Date: Sat, 16 Jun 2007 23:08:20 +0000 Subject: [PATCH] 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 --- cake/libs/model/datasources/dbo/dbo_sqlite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/model/datasources/dbo/dbo_sqlite.php b/cake/libs/model/datasources/dbo/dbo_sqlite.php index 82d63a846..4cf195e73 100644 --- a/cake/libs/model/datasources/dbo/dbo_sqlite.php +++ b/cake/libs/model/datasources/dbo/dbo_sqlite.php @@ -387,7 +387,7 @@ class DboSqlite extends DboSource { } $rt .= ' ' . $limit; if ($offset) { - $rt .= ', ' . $offset; + $rt .= ' OFFSET ' . $offset; } return $rt; }