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
edbbc251
Commit
edbbc251
authored
Jan 24, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql* -P 3307 uses TCP/IP now.
Docs/manual.texi: ChangeLog entry added.
parent
635246fc
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
0 deletions
+22
-0
Docs/manual.texi
Docs/manual.texi
+2
-0
client/mysql.cc
client/mysql.cc
+4
-0
client/mysqladmin.c
client/mysqladmin.c
+4
-0
client/mysqldump.c
client/mysqldump.c
+4
-0
client/mysqlshow.c
client/mysqlshow.c
+4
-0
client/mysqltest.c
client/mysqltest.c
+4
-0
No files found.
Docs/manual.texi
View file @
edbbc251
...
...
@@ -40713,6 +40713,8 @@ not yet 100 % confident in this code.
@node News-3.23.33, News-3.23.32, News-3.23.x, News-3.23.x
@appendixsubsec Changes in release 3.23.33
@itemize @bullet
@item
Changed clients to use TCP/IP when -P or --port option is specified.
@end itemize
@node News-3.23.32, News-3.23.31, News-3.23.33, News-3.23.x
client/mysql.cc
View file @
edbbc251
...
...
@@ -692,6 +692,10 @@ 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 @
edbbc251
...
...
@@ -185,6 +185,10 @@ 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 @
edbbc251
...
...
@@ -344,6 +344,10 @@ 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 @
edbbc251
...
...
@@ -238,6 +238,10 @@ 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 @
edbbc251
...
...
@@ -1149,6 +1149,10 @@ 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