summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_like.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/func_like.test')
-rw-r--r--mysql-test/main/func_like.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/main/func_like.test b/mysql-test/main/func_like.test
index ef13d46c268..7339743afe4 100644
--- a/mysql-test/main/func_like.test
+++ b/mysql-test/main/func_like.test
@@ -57,6 +57,7 @@ drop table t1;
# Test like with non-default character set
#
+--disable_service_connection
SET NAMES koi8r;
CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET koi8r);
@@ -71,6 +72,7 @@ SELECT * FROM t1 WHERE a LIKE '%Æù×%';
SELECT * FROM t1 WHERE a LIKE 'Æù×Á%';
DROP TABLE t1;
+--enable_service_connection
# Bug #2547 Strange "like" behaviour in tables with default charset=cp1250
# Test like with non-default character set using TurboBM
@@ -99,6 +101,7 @@ select _cp866'aaaaaaaaa' like _cp866'%aaaa%' collate cp866_bin;
#
# Check 8bit escape character
#
+--disable_service_connection
set names koi8r;
select 'andre%' like 'andreÊ%' escape 'Ê';
@@ -112,6 +115,7 @@ select 'andre%' like 'andreÊ%' escape 'Ê';
#
select _cp1251'andre%' like convert('andreÊ%' using cp1251) escape 'Ê';
+--enable_service_connection
--echo End of 4.1 tests