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
c37aa34a
Commit
c37aa34a
authored
Sep 05, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in my_getopt and mysqld.cc
parent
e56ad0cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
Docs/manual.texi
Docs/manual.texi
+4
-0
mysys/my_getopt.c
mysys/my_getopt.c
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
Docs/manual.texi
View file @
c37aa34a
...
...
@@ -50386,6 +50386,10 @@ each individual 4.0.x release.
@itemize @bullet
@item
Fixed a bug in my_getopt; --set-variable syntax didn't work for
those options that didn't have a valid variable in my_option struct.
This affected at least @code{default-table-type} option.
@item
Fixed a bug that caused @code{REPAIR TABLE} to fail on tables
with duplicates in a unique key.
@item
mysys/my_getopt.c
View file @
c37aa34a
...
...
@@ -275,7 +275,7 @@ int handle_options(int *argc, char ***argv,
return
EXIT_AMBIGUOUS_OPTION
;
}
}
if
(
must_be_var
&&
!
optp
->
value
)
if
(
must_be_var
&&
optp
->
var_type
==
GET_NO_ARG
)
{
if
(
my_getopt_print_errors
)
fprintf
(
stderr
,
"%s: option '%s' cannot take an argument
\n
"
,
...
...
sql/mysqld.cc
View file @
c37aa34a
...
...
@@ -3000,7 +3000,7 @@ struct my_option my_long_options[] =
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"default-table-type"
,
OPT_TABLE_TYPE
,
"Set the default table type for tables"
,
0
,
0
,
0
,
GET_
NO_ARG
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
GET_
STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"delay-key-write"
,
OPT_DELAY_KEY_WRITE
,
"Type of DELAY_KEY_WRITE"
,
0
,
0
,
0
,
GET_STR
,
OPT_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"delay-key-write-for-all-tables"
,
OPT_DELAY_KEY_WRITE_ALL
,
...
...
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