Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d3573d7e
Commit
d3573d7e
authored
Feb 24, 2005
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tests for BINARY|VARBINARY LIKE|NOT LIKE
parent
8b8dc465
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
mysql-test/r/ndb_condition_pushdown.result
mysql-test/r/ndb_condition_pushdown.result
+6
-2
mysql-test/t/ndb_condition_pushdown.test
mysql-test/t/ndb_condition_pushdown.test
+6
-2
No files found.
mysql-test/r/ndb_condition_pushdown.result
View file @
d3573d7e
...
@@ -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
...
...
mysql-test/t/ndb_condition_pushdown.test
View file @
d3573d7e
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment