summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-01-08 21:43:04 +0100
committerGitHub <noreply@github.com>2022-01-08 21:43:04 +0100
commita97bd305c0c22addc79cb691f5f84f874e633805 (patch)
tree01f9b010d8bd1a92ece869452aba19720c37a7d1 /system/database
parent829d37d571df54943418ab133e5c1196ed098502 (diff)
parent219d3b17d6a4e03d60e3441174d8e443be1f0551 (diff)
[ci skip] Merge pull request #5729 from emrulmax2/patch-1
NOT BETWEEN syntax error DB where() issue solved
Diffstat (limited to 'system/database')
-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 a213d5cba..e9b034139 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1517,6 +1517,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']