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
0a95c922
Commit
0a95c922
authored
Feb 25, 2021
by
Varun Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the innodb_ext_key test by adding replace_column
parent
577c970c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
mysql-test/r/innodb_ext_key.result
mysql-test/r/innodb_ext_key.result
+1
-1
mysql-test/t/innodb_ext_key.test
mysql-test/t/innodb_ext_key.test
+1
-0
No files found.
mysql-test/r/innodb_ext_key.result
View file @
0a95c922
...
...
@@ -804,5 +804,5 @@ PRIMARY KEY(pk)
INSERT INTO t2 SELECT a,a FROM t1;
EXPLAIN SELECT pk FROM t2 FORCE INDEX(k1);
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 index NULL k1 23 NULL
10
Using index
1 SIMPLE t2 index NULL k1 23 NULL
#
Using index
DROP TABLE t1,t2;
mysql-test/t/innodb_ext_key.test
View file @
0a95c922
...
...
@@ -622,6 +622,7 @@ CREATE TABLE t2 (
)
ENGINE
=
INNODB
;
INSERT
INTO
t2
SELECT
a
,
a
FROM
t1
;
--
replace_column
9
#
EXPLAIN
SELECT
pk
FROM
t2
FORCE
INDEX
(
k1
);
DROP
TABLE
t1
,
t2
;
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