mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/space/pekka/ndb/version/my50-ndb
This commit is contained in:
@ -235,13 +235,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
|
||||
|
@ -236,12 +236,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
|
||||
|
Reference in New Issue
Block a user