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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2e4f86af
Commit
2e4f86af
authored
Nov 13, 2008
by
Sergey Glukhov
Browse files
Options
Browse Files
Download
Plain Diff
5.0-bugteam->5.1-bugteam automerge(bug#39541)
parents
6c0b87f5
90548bc6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
mysql-test/r/mysqlcheck.result
mysql-test/r/mysqlcheck.result
+6
-0
mysql-test/t/mysqlcheck.test
mysql-test/t/mysqlcheck.test
+7
-0
sql/sql_table.cc
sql/sql_table.cc
+6
-0
No files found.
mysql-test/r/mysqlcheck.result
View file @
2e4f86af
...
...
@@ -98,6 +98,12 @@ drop view v_bug25347;
drop table t_bug25347;
drop database d_bug25347;
use test;
create view v1 as select * from information_schema.routines;
check table v1, information_schema.routines;
Table Op Msg_type Msg_text
test.v1 check status OK
information_schema.routines check note The storage engine for the table doesn't support check
drop view v1;
End of 5.0 tests
create table t1(a int);
create view v1 as select * from t1;
...
...
mysql-test/t/mysqlcheck.test
View file @
2e4f86af
...
...
@@ -71,6 +71,13 @@ drop table t_bug25347;
drop
database
d_bug25347
;
use
test
;
#
# Bug#39541 CHECK TABLE on information_schema myisam tables produces error
#
create
view
v1
as
select
*
from
information_schema
.
routines
;
check
table
v1
,
information_schema
.
routines
;
drop
view
v1
;
--
echo
End
of
5.0
tests
#
...
...
sql/sql_table.cc
View file @
2e4f86af
...
...
@@ -4293,6 +4293,12 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
goto
send_result
;
}
if
(
table
->
schema_table
)
{
result_code
=
HA_ADMIN_NOT_IMPLEMENTED
;
goto
send_result
;
}
if
((
table
->
table
->
db_stat
&
HA_READ_ONLY
)
&&
open_for_modify
)
{
/* purecov: begin inspected */
...
...
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