summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorDaniel Morris <daniel@honestempire.com>2012-10-04 23:28:38 +0200
committerDaniel Morris <daniel@honestempire.com>2012-10-04 23:28:38 +0200
commit0fc4a10fab7041585def63ff562f5247790915f3 (patch)
treefdaf8ce4f07b712fa4388b0d84b457b28c46cf29 /system/database/DB_driver.php
parent7885c5cac9932e0598719682522b1c4902c15876 (diff)
parent5b92ae1dfb6ac99630693d193b0d3f60f9df525f (diff)
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop
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