diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-01-10 09:26:12 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-01-10 09:26:12 +0100 |
commit | aadba8241f0454ede4300af6efcf5cc62dd19464 (patch) | |
tree | 447e6ac445f92c296efe3861c5c4d56a37cabfbb /system/database/drivers/ibase/ibase_driver.php | |
parent | d263bc0c40c3e11ddd076a393fe28088860e7715 (diff) | |
parent | a541087a6fb44b24f8d7044277391f282a326220 (diff) |
Merge pull request #2139 from timw4mail/develop
Fix interbase limit issue for subqueries
Diffstat (limited to 'system/database/drivers/ibase/ibase_driver.php')
-rw-r--r-- | system/database/drivers/ibase/ibase_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/ibase/ibase_driver.php b/system/database/drivers/ibase/ibase_driver.php index 87faf3d08..875f148a1 100644 --- a/system/database/drivers/ibase/ibase_driver.php +++ b/system/database/drivers/ibase/ibase_driver.php @@ -421,7 +421,7 @@ class CI_DB_ibase_driver extends CI_DB { .($this->qb_offset ? $this->qb_offset.' TO '.($this->qb_limit + $this->qb_offset) : $this->qb_limit); } - return preg_replace('`SELECT`i', 'SELECT '.$select, $sql); + return preg_replace('`SELECT`i', 'SELECT '.$select, $sql, 1); } // -------------------------------------------------------------------- |