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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
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
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
...
...
mysql-test/t/ndb_condition_pushdown.test
View file @
d3573d7e
...
...
@@ -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
...
...
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