Commit 2b467d35 authored by unknown's avatar unknown
Browse files

Added tests for BINARY|VARBINARY LIKE|NOT LIKE

parent 48429203
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -641,13 +641,17 @@ auto
4
select auto from t1 where 
string like "b%" and
vstring like "b%"
vstring like "b%" and
bin like concat(0xBB, '%') and
vbin like concat(0xBB, '%')
order by auto;
auto
2
select auto from t1 where 
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;
auto
1
+6 −2
Original line number Diff line number Diff line
@@ -590,12 +590,16 @@ order by auto;
# Test LIKE/NOT LIKE
select auto from t1 where 
string like "b%" and
vstring like "b%"
vstring like "b%" and
bin like concat(0xBB, '%') and
vbin like concat(0xBB, '%')
order by auto;

select auto from t1 where 
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;

# Various tests