summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorKyle Johnson <blyxx86@gmail.com>2012-10-05 11:51:31 +0200
committerKyle Johnson <blyxx86@gmail.com>2012-10-05 11:51:31 +0200
commitfad389699e2e851af09c1f4508646194c2f45660 (patch)
tree8a595af2bd1980e4a475f5db5f4ce9f7bc8cd170 /system/database/DB_driver.php
parentddb32da0e86510d7e68c5432a1657732a01b5d34 (diff)
parentf20bca9e065751fc271cb650f9246073492eccea (diff)
Fixed conflicts in changelog to reflect all changes.
Conflicts: user_guide_src/source/changelog.rst
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php4
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