Commit d3573d7e authored by mskold@mysql.com's avatar mskold@mysql.com

Added tests for BINARY|VARBINARY LIKE|NOT LIKE

parent 8b8dc465
...@@ -641,13 +641,17 @@ auto ...@@ -641,13 +641,17 @@ auto
4 4
select auto from t1 where select auto from t1 where
string like "b%" and string like "b%" and
vstring like "b%" vstring like "b%" and
bin like concat(0xBB, '%') and
vbin like concat(0xBB, '%')
order by auto; order by auto;
auto auto
2 2
select auto from t1 where select auto from t1 where
string not like "b%" and string not like "b%" and
vstring not like "b%" vstring not like "b%" and
bin not like concat(0xBB, '%') and
vbin not like concat(0xBB, '%')
order by auto; order by auto;
auto auto
1 1
......
...@@ -590,12 +590,16 @@ order by auto; ...@@ -590,12 +590,16 @@ order by auto;
# Test LIKE/NOT LIKE # Test LIKE/NOT LIKE
select auto from t1 where select auto from t1 where
string like "b%" and string like "b%" and
vstring like "b%" vstring like "b%" and
bin like concat(0xBB, '%') and
vbin like concat(0xBB, '%')
order by auto; order by auto;
select auto from t1 where select auto from t1 where
string not like "b%" and string not like "b%" and
vstring not like "b%" vstring not like "b%" and
bin not like concat(0xBB, '%') and
vbin not like concat(0xBB, '%')
order by auto; order by auto;
# Various tests # Various tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment