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
531ec55a
Commit
531ec55a
authored
Feb 17, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
select.test:
Manual post-merge mysql-test/t/select.test: Manual post-merge
parent
869b6557
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
mysql-test/t/select.test
mysql-test/t/select.test
+19
-0
No files found.
mysql-test/t/select.test
View file @
531ec55a
...
...
@@ -1985,3 +1985,22 @@ EXPLAIN SELECT * FROM t1 LEFT JOIN t2 USE INDEX (a) ON t1.a=t2.a;
EXPLAIN
SELECT
*
FROM
t1
LEFT
JOIN
t2
FORCE
INDEX
(
a
)
ON
t1
.
a
=
t2
.
a
;
DROP
TABLE
t1
,
t2
;
#
# Test case for bug 7098: substitution of a constant for a string field
#
CREATE
TABLE
t1
(
city
char
(
30
)
);
INSERT
INTO
t1
VALUES
(
'London'
);
INSERT
INTO
t1
VALUES
(
'Paris'
);
SELECT
*
FROM
t1
WHERE
city
=
'London'
;
SELECT
*
FROM
t1
WHERE
city
=
'london'
;
EXPLAIN
SELECT
*
FROM
t1
WHERE
city
=
'London'
AND
city
=
'london'
;
SELECT
*
FROM
t1
WHERE
city
=
'London'
AND
city
=
'london'
;
EXPLAIN
SELECT
*
FROM
t1
WHERE
city
LIKE
'%london%'
AND
city
=
'London'
;
SELECT
*
FROM
t1
WHERE
city
LIKE
'%london%'
AND
city
=
'London'
;
DROP
TABLE
t1
;
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