Loading Docs/manual.texi +2 −0 Original line number Diff line number Diff line Loading @@ -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 +4 −0 Original line number Diff line number Diff line Loading @@ -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': Loading client/mysqladmin.c +4 −0 Original line number Diff line number Diff line Loading @@ -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': Loading client/mysqldump.c +4 −0 Original line number Diff line number Diff line Loading @@ -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': Loading client/mysqlshow.c +4 −0 Original line number Diff line number Diff line Loading @@ -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': Loading Loading
Docs/manual.texi +2 −0 Original line number Diff line number Diff line Loading @@ -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 +4 −0 Original line number Diff line number Diff line Loading @@ -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': Loading
client/mysqladmin.c +4 −0 Original line number Diff line number Diff line Loading @@ -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': Loading
client/mysqldump.c +4 −0 Original line number Diff line number Diff line Loading @@ -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': Loading
client/mysqlshow.c +4 −0 Original line number Diff line number Diff line Loading @@ -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': Loading