summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorTufan Barış YILDIRIM <tufanbarisyildirim@gmail.com>2013-12-19 20:06:39 +0100
committerTufan Barış YILDIRIM <tufanbarisyildirim@gmail.com>2013-12-19 20:06:39 +0100
commitf1cceaa271fe86e68e0dfc3181d4b39ce4e5f846 (patch)
tree12bf4fe8810b4815c930469cb58cb566d140845b /system
parent0f0e6adee7d3edf45fbadf5ec01505a46d70760d (diff)
parent72109068e391d67729d92d23ca47bd6373e64363 (diff)
EXISTS / NOT EXISTS clause support for DB_driver
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_driver.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index ec3de7e6e..ffee74df7 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1446,9 +1446,9 @@ abstract class CI_DB_driver {
'\s*<>?\s*', // <, <>
'\s*>\s*', // >
'\s+IS NULL', // IS NULL
- '\s+IS NOT NULL', // IS NOT NULL
- '\s+EXISTS', // EXISTS
- '\s+NOT EXISTS', // NOT EXISTS
+ '\s+IS NOT NULL', // IS NOT NULL
+ '\s+EXISTS', // EXISTS
+ '\s+NOT EXISTS', // NOT EXISTS
'\s+BETWEEN\s+\S+\s+AND\s+\S+', // BETWEEN value AND value
'\s+IN\s*\([^\)]+\)', // IN(list)
'\s+NOT IN\s*\([^\)]+\)', // NOT IN (list)