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
520fe4ff
Commit
520fe4ff
authored
Nov 09, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
parents
648b5066
3feb6bd1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
.bzrignore
.bzrignore
+3
-2
mysql-test/r/isam.result
mysql-test/r/isam.result
+3
-3
mysql-test/r/select.result
mysql-test/r/select.result
+2
-2
sql/sql_base.cc
sql/sql_base.cc
+1
-0
No files found.
.bzrignore
View file @
520fe4ff
...
@@ -193,6 +193,7 @@ configure
...
@@ -193,6 +193,7 @@ configure
core
core
db-*.*.*
db-*.*.*
dbug/user.t
dbug/user.t
depcomp
extra/comp_err
extra/comp_err
extra/my_print_defaults
extra/my_print_defaults
extra/mysql_install
extra/mysql_install
...
@@ -211,6 +212,7 @@ innobase/conftest.s1
...
@@ -211,6 +212,7 @@ innobase/conftest.s1
innobase/conftest.subs
innobase/conftest.subs
innobase/ib_config.h
innobase/ib_config.h
innobase/ib_config.h.in
innobase/ib_config.h.in
innobase/stamp-h1
isam/isamchk
isam/isamchk
isam/isamlog
isam/isamlog
isam/pack_isam
isam/pack_isam
...
@@ -468,6 +470,7 @@ sql/sql_yacc.cc
...
@@ -468,6 +470,7 @@ sql/sql_yacc.cc
sql/sql_yacc.h
sql/sql_yacc.h
stamp-h
stamp-h
stamp-h.in
stamp-h.in
stamp-h1
strings/conf_to_src
strings/conf_to_src
strings/ctype_autoconf.c
strings/ctype_autoconf.c
strings/ctype_extra_sources.c
strings/ctype_extra_sources.c
...
@@ -494,5 +497,3 @@ vio/test-ssl
...
@@ -494,5 +497,3 @@ vio/test-ssl
vio/test-sslclient
vio/test-sslclient
vio/test-sslserver
vio/test-sslserver
vio/viotest-ssl
vio/viotest-ssl
innobase/stamp-h1
stamp-h1
mysql-test/r/isam.result
View file @
520fe4ff
...
@@ -47,14 +47,14 @@ test.t1 optimize status OK
...
@@ -47,14 +47,14 @@ test.t1 optimize status OK
check table t1,t2;
check table t1,t2;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 check status OK
test.t1 check status OK
test.t2 check error The handler for the table doesn't support check
/repair
test.t2 check error The handler for the table doesn't support check
repair table t1,t2;
repair table t1,t2;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 repair status OK
test.t1 repair status OK
test.t2 repair error The handler for the table doesn't support
check/
repair
test.t2 repair error The handler for the table doesn't support repair
check table t2,t1;
check table t2,t1;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t2 check error The handler for the table doesn't support check
/repair
test.t2 check error The handler for the table doesn't support check
test.t1 check status OK
test.t1 check status OK
lock tables t1 write;
lock tables t1 write;
check table t2,t1;
check table t2,t1;
...
...
mysql-test/r/select.result
View file @
520fe4ff
...
@@ -1331,10 +1331,10 @@ table type possible_keys key key_len ref rows Extra
...
@@ -1331,10 +1331,10 @@ table type possible_keys key key_len ref rows Extra
t2 ref fld3 fld3 30 const 1 Using where; Using index
t2 ref fld3 fld3 30 const 1 Using where; Using index
explain select fld3 from t2 ignore index (fld3) where fld3 = 'honeysuckle';
explain select fld3 from t2 ignore index (fld3) where fld3 = 'honeysuckle';
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t2
index NULL fld3 30 NULL 1199 Using where; Using index
t2
ALL NULL NULL NULL NULL 1199 Using where
explain select fld3 from t2 use index (fld1) where fld3 = 'honeysuckle';
explain select fld3 from t2 use index (fld1) where fld3 = 'honeysuckle';
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t2
index NULL fld3 30 NULL 1199 Using where; Using index
t2
ALL NULL NULL NULL NULL 1199 Using where
explain select fld3 from t2 use index (fld3) where fld3 = 'honeysuckle';
explain select fld3 from t2 use index (fld3) where fld3 = 'honeysuckle';
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t2 ref fld3 fld3 30 const 1 Using where; Using index
t2 ref fld3 fld3 30 const 1 Using where; Using index
...
...
sql/sql_base.cc
View file @
520fe4ff
...
@@ -1844,6 +1844,7 @@ bool setup_tables(TABLE_LIST *tables)
...
@@ -1844,6 +1844,7 @@ bool setup_tables(TABLE_LIST *tables)
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
table
->
keys_in_use_for_query
&=
~
map
;
table
->
keys_in_use_for_query
&=
~
map
;
}
}
table
->
used_keys
&=
table
->
keys_in_use_for_query
;
if
(
table_list
->
shared
)
if
(
table_list
->
shared
)
{
{
/* Clear query_id that may have been set by previous select */
/* Clear query_id that may have been set by previous select */
...
...
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