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
d4fc18bf
Commit
d4fc18bf
authored
Oct 04, 2002
by
jani@rhols221.adsl.netsonic.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes in mysql and myisampack
parent
3858bf1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
client/mysql.cc
client/mysql.cc
+4
-3
myisam/myisampack.c
myisam/myisampack.c
+2
-2
No files found.
client/mysql.cc
View file @
d4fc18bf
...
...
@@ -40,7 +40,7 @@
#include <signal.h>
#include <violite.h>
const
char
*
VER
=
"12.1
4
"
;
const
char
*
VER
=
"12.1
5
"
;
/* Don't try to make a nice table if the data is too big */
#define MAX_COLUMN_LENGTH 1024
...
...
@@ -556,8 +556,9 @@ static struct my_option my_long_options[] =
{
"safe-updates"
,
'U'
,
"Only allow UPDATE and DELETE that uses keys."
,
(
gptr
*
)
&
safe_updates
,
(
gptr
*
)
&
safe_updates
,
0
,
GET_BOOL
,
OPT_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"i-am-a-dummy"
,
'U'
,
"Synonym for option --safe-updates, -U."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"i-am-a-dummy"
,
'U'
,
"Synonym for option --safe-updates, -U."
,
(
gptr
*
)
&
safe_updates
,
(
gptr
*
)
&
safe_updates
,
0
,
GET_BOOL
,
OPT_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"verbose"
,
'v'
,
"Write more. (-v -v -v gives the table output format)"
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"version"
,
'V'
,
"Output version information and exit."
,
0
,
0
,
0
,
...
...
myisam/myisampack.c
View file @
d4fc18bf
...
...
@@ -269,7 +269,7 @@ static struct my_option my_long_options[] =
static
void
print_version
(
void
)
{
printf
(
"%s Ver 1.2
1
for %s on %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
printf
(
"%s Ver 1.2
2
for %s on %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
}
static
void
usage
(
void
)
...
...
@@ -282,7 +282,7 @@ static void usage(void)
puts
(
"Pack a MyISAM-table to take much less space."
);
puts
(
"Keys are not updated, you must run myisamchk -rq on the datafile"
);
puts
(
"afterwards to update the keys."
);
puts
(
"You should give the .M
S
I file as the filename argument."
);
puts
(
"You should give the .M
Y
I file as the filename argument."
);
printf
(
"
\n
Usage: %s [OPTIONS] filename...
\n
"
,
my_progname
);
my_print_help
(
my_long_options
);
...
...
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