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
0d930158
Commit
0d930158
authored
Aug 02, 2007
by
ramil/ram@ramil.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into mysql.com:/home/ram/work/b30088/b30088.5.0
parents
dc84a5fd
c62d7528
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
mysql-test/r/show_check.result
mysql-test/r/show_check.result
+3
-0
mysql-test/t/show_check-master.opt
mysql-test/t/show_check-master.opt
+1
-1
mysql-test/t/show_check.test
mysql-test/t/show_check.test
+5
-0
sql/mysqld.cc
sql/mysqld.cc
+6
-1
No files found.
mysql-test/r/show_check.result
View file @
0d930158
...
@@ -1138,4 +1138,7 @@ select 1 from information_schema.tables limit 1;
...
@@ -1138,4 +1138,7 @@ select 1 from information_schema.tables limit 1;
show status like 'slow_queries';
show status like 'slow_queries';
Variable_name Value
Variable_name Value
Slow_queries 2
Slow_queries 2
show variables like 'myisam_recover_options';
Variable_name Value
myisam_recover_options OFF
End of 5.0 tests
End of 5.0 tests
mysql-test/t/show_check-master.opt
View file @
0d930158
--log-slow-queries --log-long-format --log-queries-not-using-indexes
--log-slow-queries --log-long-format --log-queries-not-using-indexes
--myisam-recover=""
mysql-test/t/show_check.test
View file @
0d930158
...
@@ -839,4 +839,9 @@ show variables like "log_queries_not_using_indexes";
...
@@ -839,4 +839,9 @@ show variables like "log_queries_not_using_indexes";
select
1
from
information_schema
.
tables
limit
1
;
select
1
from
information_schema
.
tables
limit
1
;
show
status
like
'slow_queries'
;
show
status
like
'slow_queries'
;
#
# Bug #30088: Can't disable myisam-recover by a value of ""
#
show
variables
like
'myisam_recover_options'
;
--
echo
End
of
5.0
tests
--
echo
End
of
5.0
tests
sql/mysqld.cc
View file @
0d930158
...
@@ -7241,11 +7241,16 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
...
@@ -7241,11 +7241,16 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
#endif
/* HAVE_INNOBASE_DB */
#endif
/* HAVE_INNOBASE_DB */
case
OPT_MYISAM_RECOVER
:
case
OPT_MYISAM_RECOVER
:
{
{
if
(
!
argument
||
!
argument
[
0
]
)
if
(
!
argument
)
{
{
myisam_recover_options
=
HA_RECOVER_DEFAULT
;
myisam_recover_options
=
HA_RECOVER_DEFAULT
;
myisam_recover_options_str
=
myisam_recover_typelib
.
type_names
[
0
];
myisam_recover_options_str
=
myisam_recover_typelib
.
type_names
[
0
];
}
}
else
if
(
!
argument
[
0
])
{
myisam_recover_options
=
HA_RECOVER_NONE
;
myisam_recover_options_str
=
"OFF"
;
}
else
else
{
{
myisam_recover_options_str
=
argument
;
myisam_recover_options_str
=
argument
;
...
...
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