Skip to content

Commit

Permalink
Fix escape_like_str() tests
Browse files Browse the repository at this point in the history
  • Loading branch information
narfbg committed Oct 4, 2012
1 parent 2ea33c3 commit 13be557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/codeigniter/database/query_builder/escape_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function test_escape_like_percent_sign()

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
{
Expand All @@ -52,7 +52,7 @@ public function test_escape_like_backslash_sign()

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
{
Expand Down

0 comments on commit 13be557

Please sign in to comment.