diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-10-04 11:43:03 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-10-04 11:43:03 +0200 |
commit | 13be5578e7ea440f4f33bc4c5c22096686224d66 (patch) | |
tree | 5b328d00fe9988001ee20dd8270950e8dec75228 /tests/codeigniter/database | |
parent | 2ea33c37e9bfa3ff0e029c18a0d2c9ef05016bf0 (diff) |
Fix escape_like_str() tests
Diffstat (limited to 'tests/codeigniter/database')
-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 { |