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
d57b95b6
Commit
d57b95b6
authored
Feb 06, 2002
by
jani@rhols221.adsl.netsonic.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fixes and new functionality added in my_getopt and myisamchk
parent
21255c19
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
443 additions
and
188 deletions
+443
-188
include/my_getopt.h
include/my_getopt.h
+2
-1
myisam/myisamchk.c
myisam/myisamchk.c
+223
-94
mysys/my_getopt.c
mysys/my_getopt.c
+218
-93
No files found.
include/my_getopt.h
View file @
d57b95b6
...
@@ -42,7 +42,6 @@ struct my_option
...
@@ -42,7 +42,6 @@ struct my_option
longlong
sub_size
;
/* Subtract this from given value */
longlong
sub_size
;
/* Subtract this from given value */
long
block_size
;
/* Value should be a mult. of this */
long
block_size
;
/* Value should be a mult. of this */
int
app_type
;
/* To be used by an application */
int
app_type
;
/* To be used by an application */
my_bool
opt_is_var
;
/* If true, the option is a variable */
};
};
extern
int
handle_options
(
int
*
argc
,
char
***
argv
,
extern
int
handle_options
(
int
*
argc
,
char
***
argv
,
...
@@ -50,3 +49,5 @@ extern int handle_options (int *argc, char ***argv,
...
@@ -50,3 +49,5 @@ extern int handle_options (int *argc, char ***argv,
my_bool
(
*
get_one_option
)(
int
,
my_bool
(
*
get_one_option
)(
int
,
const
struct
my_option
*
,
const
struct
my_option
*
,
char
*
));
char
*
));
extern
void
my_print_help
(
const
struct
my_option
*
options
);
extern
void
my_print_variables
(
const
struct
my_option
*
options
);
myisam/myisamchk.c
View file @
d57b95b6
This diff is collapsed.
Click to expand it.
mysys/my_getopt.c
View file @
d57b95b6
This diff is collapsed.
Click to expand it.
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