diff options
author | Bharat Mediratta <bharat@menalto.com> | 2012-05-15 09:33:43 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2012-05-15 09:33:43 -0700 |
commit | 0d5187eadf3e19729c6aa25c3bf30d2787fd66a3 (patch) | |
tree | 8c37a94a6d7b59023df721dc9556f192c7714e69 /system/libraries/Database_Builder.php | |
parent | 1ffc3b1df084355d4e1f7aeab8555df07801b885 (diff) |
Revert "Verify that where() clauses are well formed. Fixes #1865."
This reverts commit 6a6b3f90f36293a40cba091c3ac387abb64f3c1a.
Diffstat (limited to 'system/libraries/Database_Builder.php')
-rw-r--r-- | system/libraries/Database_Builder.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/system/libraries/Database_Builder.php b/system/libraries/Database_Builder.php index 553ffd98..e86ce379 100644 --- a/system/libraries/Database_Builder.php +++ b/system/libraries/Database_Builder.php @@ -190,8 +190,6 @@ class Database_Builder_Core { { foreach ($columns as $column) { - if (count($column) != 3) - throw new Database_Exception('Column triplets require a column, op and value'); $this->where[] = array('AND' => $column); } } @@ -218,8 +216,6 @@ class Database_Builder_Core { { foreach ($columns as $column) { - if (count($column) != 3) - throw new Database_Exception('Column triplets require a column, op and value'); $this->where[] = array('OR' => $column); } } @@ -426,8 +422,6 @@ class Database_Builder_Core { { foreach ($columns as $column) { - if (count($column) != 3) - throw new Database_Exception('Column triplets require a column, op and value'); $this->having[] = array('AND' => $column); } } @@ -453,8 +447,6 @@ class Database_Builder_Core { { foreach ($columns as $column) { - if (count($column) != 3) - throw new Database_Exception('Column triplets require a column, op and value'); $this->having[] = array('OR' => $column); } } |