summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_like.test
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-05-17 16:45:00 +0300
committermonty@hundin.mysql.fi <>2002-05-17 16:45:00 +0300
commitce1353a4541243c73d1c8b45e44717d577c8cf5a (patch)
tree138e0662f05b06e5000a3e7e6fa8383eea492a3b /mysql-test/t/func_like.test
parent0c5c517db61c8d1e0753a310ec38d0c6b41827b2 (diff)
downloadmariadb-git-ce1353a4541243c73d1c8b45e44717d577c8cf5a.tar.gz
Optimize LIKE with turbo-boyer-more algoritm
Diffstat (limited to 'mysql-test/t/func_like.test')
-rw-r--r--mysql-test/t/func_like.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/func_like.test b/mysql-test/t/func_like.test
index e0f1f0db9ce..6c0313d0437 100644
--- a/mysql-test/t/func_like.test
+++ b/mysql-test/t/func_like.test
@@ -9,4 +9,12 @@ select * from t1 where a like "abc%";
select * from t1 where a like "ABC%";
select * from t1 where a like "test%";
select * from t1 where a like "te_t";
+
+#
+# The following will test the boyer-more code
+#
+select * from t1 where a like "%a%";
+select * from t1 where a like "%abcd%";
+select * from t1 where a like "%abc\d%";
+
drop table t1;