diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-10-04 11:37:51 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-10-04 11:37:51 +0200 |
commit | 2ea33c37e9bfa3ff0e029c18a0d2c9ef05016bf0 (patch) | |
tree | c74a370bed4e0ca8b7a14932a14f671552c5434e /system/database/DB_driver.php | |
parent | 7bd1690b8b1c74ee6d6ff3868525d8cdc0ec0803 (diff) |
Fix issue #1789
Signed-off-by: Andrey Andreev <narf@bofh.bg>
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r-- | system/database/DB_driver.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index e61af91b7..b64b977cb 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -79,6 +79,10 @@ abstract class CI_DB_driver { protected $_protect_identifiers = TRUE; protected $_reserved_identifiers = array('*'); // Identifiers that should NOT be escaped + // clause and character used for LIKE escape sequences + protected $_like_escape_str = " ESCAPE '%s' "; + protected $_like_escape_chr = '!'; + /** * The syntax to count rows is slightly different across different * database engines, so this string appears in each driver and is |