diff options
author | Daniel Morris <daniel@honestempire.com> | 2012-10-04 23:28:38 +0200 |
---|---|---|
committer | Daniel Morris <daniel@honestempire.com> | 2012-10-04 23:28:38 +0200 |
commit | 0fc4a10fab7041585def63ff562f5247790915f3 (patch) | |
tree | fdaf8ce4f07b712fa4388b0d84b457b28c46cf29 /tests | |
parent | 7885c5cac9932e0598719682522b1c4902c15876 (diff) | |
parent | 5b92ae1dfb6ac99630693d193b0d3f60f9df525f (diff) |
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop
Diffstat (limited to 'tests')
-rw-r--r-- | tests/codeigniter/database/query_builder/escape_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codeigniter/database/query_builder/escape_test.php b/tests/codeigniter/database/query_builder/escape_test.php index c6380ddf1..27e678f22 100644 --- a/tests/codeigniter/database/query_builder/escape_test.php +++ b/tests/codeigniter/database/query_builder/escape_test.php @@ -27,7 +27,7 @@ class Escape_test extends CI_TestCase { if (strpos(DB_DRIVER, 'mysql') !== FALSE) { - $sql = "SELECT `value` FROM `misc` WHERE `key` LIKE '$string%' ESCAPE '';"; + $sql = "SELECT `value` FROM `misc` WHERE `key` LIKE '$string%' ESCAPE '!';"; } else { @@ -52,7 +52,7 @@ class Escape_test extends CI_TestCase { if (strpos(DB_DRIVER, 'mysql') !== FALSE) { - $sql = "SELECT `value` FROM `misc` WHERE `key` LIKE '$string%' ESCAPE '';"; + $sql = "SELECT `value` FROM `misc` WHERE `key` LIKE '$string%' ESCAPE '!';"; } else { |