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
3f70b62c
Commit
3f70b62c
authored
Sep 07, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge
parent
2f96e073
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
client/mysql.cc
client/mysql.cc
+1
-1
mysql-test/r/select.result
mysql-test/r/select.result
+5
-5
mysql-test/t/select.test
mysql-test/t/select.test
+1
-1
No files found.
client/mysql.cc
View file @
3f70b62c
...
...
@@ -2626,7 +2626,7 @@ com_use(String *buffer __attribute__((unused)), char *line)
mysql_free_result
(
res
);
}
if
(
!
current_db
||
cmp_database
(
current_db
,
tmp
))
if
(
!
current_db
||
cmp_database
(
c
harset_info
,
c
urrent_db
,
tmp
))
{
if
(
one_database
)
skip_updates
=
1
;
...
...
mysql-test/r/select.result
View file @
3f70b62c
...
...
@@ -2353,14 +2353,14 @@ i int(11) NOT NULL default '0',
c char(10) NOT NULL default '',
PRIMARY KEY (i),
UNIQUE KEY c (c)
)
TYP
E=MyISAM;
)
ENGIN
E=MyISAM;
INSERT INTO t1 VALUES (1,'a');
INSERT INTO t1 VALUES (2,'b');
INSERT INTO t1 VALUES (3,'c');
EXPLAIN SELECT i FROM t1 WHERE i=1;
table type possible_keys key key_len ref rows Extra
t1 const PRIMARY PRIMARY 4 const 1 Using index
id select_type
table type possible_keys key key_len ref rows Extra
1 SIMPLE
t1 const PRIMARY PRIMARY 4 const 1 Using index
EXPLAIN SELECT i FROM t1 WHERE i=1;
table type possible_keys key key_len ref rows Extra
t1 const PRIMARY PRIMARY 4 const 1 Using index
id select_type
table type possible_keys key key_len ref rows Extra
1 SIMPLE
t1 const PRIMARY PRIMARY 4 const 1 Using index
DROP TABLE t1;
mysql-test/t/select.test
View file @
3f70b62c
...
...
@@ -1890,7 +1890,7 @@ CREATE TABLE t1 (
c
char
(
10
)
NOT
NULL
default
''
,
PRIMARY
KEY
(
i
),
UNIQUE
KEY
c
(
c
)
)
TYP
E
=
MyISAM
;
)
ENGIN
E
=
MyISAM
;
INSERT
INTO
t1
VALUES
(
1
,
'a'
);
INSERT
INTO
t1
VALUES
(
2
,
'b'
);
...
...
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