summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-01-08 21:43:04 +0100
committerAndrey Andreev <narf@devilix.net>2022-01-08 21:43:40 +0100
commitd678dbb1937a4a3a44d335118149e53f6aacaacf (patch)
tree2db4c7dd5d1dec0fe32eb328f6311f2f4a991344 /system
parente1ea92843ce0139417aad0933ec32d7e589d0de9 (diff)
[ci skip] Merge pull request #5729 from emrulmax2/patch-1
NOT BETWEEN syntax error DB where() issue solved
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_driver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 6e1d8d11e..fd7cd5543 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1576,6 +1576,7 @@ abstract class CI_DB_driver {
'\s+EXISTS\s*\(.*\)', // EXISTS(sql)
'\s+NOT EXISTS\s*\(.*\)', // NOT EXISTS(sql)
'\s+BETWEEN\s+', // BETWEEN value AND value
+ '\s+NOT BETWEEN\s+', // NOT BETWEEN value AND value
'\s+IN\s*\(.*\)', // IN(list)
'\s+NOT IN\s*\(.*\)', // NOT IN (list)
'\s+LIKE\s+\S.*('.$_les.')?', // LIKE 'expr'[ ESCAPE '%s']