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
54502646
Commit
54502646
authored
Jan 29, 2001
by
monty@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed that --port defaults to TCP/IP
parent
0b470dd3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
20 deletions
+0
-20
client/mysql.cc
client/mysql.cc
+0
-4
client/mysqladmin.c
client/mysqladmin.c
+0
-4
client/mysqldump.c
client/mysqldump.c
+0
-4
client/mysqlshow.c
client/mysqlshow.c
+0
-4
client/mysqltest.c
client/mysqltest.c
+0
-4
No files found.
client/mysql.cc
View file @
54502646
...
...
@@ -692,10 +692,6 @@ static int get_options(int argc, char **argv)
skip_column_names
=
1
;
break
;
case
'P'
:
if
(
!
current_host
)
{
my_free
(
current_host
,
MYF
(
MY_ALLOW_ZERO_PTR
));
current_host
=
my_strdup
(
"127.0.0.1"
,
MYF
(
MY_WME
));
};
opt_mysql_port
=
(
unsigned
int
)
atoi
(
optarg
);
break
;
case
'S'
:
...
...
client/mysqladmin.c
View file @
54502646
...
...
@@ -185,10 +185,6 @@ int main(int argc,char *argv[])
interval
=
atoi
(
optarg
);
break
;
case
'P'
:
if
(
!
host
)
{
my_free
(
host
,
MYF
(
MY_ALLOW_ZERO_PTR
));
host
=
my_strdup
(
"127.0.0.1"
,
MYF
(
MY_WME
));
};
tcp_port
=
(
unsigned
int
)
atoi
(
optarg
);
break
;
case
'r'
:
...
...
client/mysqldump.c
View file @
54502646
...
...
@@ -344,10 +344,6 @@ static int get_options(int *argc,char ***argv)
tty_password
=
1
;
break
;
case
'P'
:
if
(
!
current_host
)
{
my_free
(
current_host
,
MYF
(
MY_ALLOW_ZERO_PTR
));
current_host
=
my_strdup
(
"127.0.0.1"
,
MYF
(
MY_WME
));
};
opt_mysql_port
=
(
unsigned
int
)
atoi
(
optarg
);
break
;
case
'S'
:
...
...
client/mysqlshow.c
View file @
54502646
...
...
@@ -238,10 +238,6 @@ get_options(int *argc,char ***argv)
break
;
#endif
case
'P'
:
if
(
!
host
)
{
my_free
(
host
,
MYF
(
MY_ALLOW_ZERO_PTR
));
host
=
my_strdup
(
"127.0.0.1"
,
MYF
(
MY_WME
));
};
opt_mysql_port
=
(
unsigned
int
)
atoi
(
optarg
);
break
;
case
'S'
:
...
...
client/mysqltest.c
View file @
54502646
...
...
@@ -1154,10 +1154,6 @@ int parse_args(int argc, char **argv)
tty_password
=
1
;
break
;
case
'P'
:
if
(
!
host
)
{
my_free
(
host
,
MYF
(
MY_ALLOW_ZERO_PTR
));
host
=
my_strdup
(
"127.0.0.1"
,
MYF
(
MY_WME
));
};
port
=
atoi
(
optarg
);
break
;
case
'S'
:
...
...
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