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
c42e94a6
Commit
c42e94a6
authored
Feb 02, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
parents
46e3b615
a9ee051a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
client/mysql.cc
client/mysql.cc
+5
-2
sql/mysqld.cc
sql/mysqld.cc
+3
-3
No files found.
client/mysql.cc
View file @
c42e94a6
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include <signal.h>
#include <signal.h>
#include <violite.h>
#include <violite.h>
const
char
*
VER
=
"12.1
7
"
;
const
char
*
VER
=
"12.1
8
"
;
/* Don't try to make a nice table if the data is too big */
/* Don't try to make a nice table if the data is too big */
#define MAX_COLUMN_LENGTH 1024
#define MAX_COLUMN_LENGTH 1024
...
@@ -2647,7 +2647,10 @@ static const char* construct_prompt()
...
@@ -2647,7 +2647,10 @@ static const char* construct_prompt()
!
mysql
.
unix_socket
)
!
mysql
.
unix_socket
)
add_int_to_prompt
(
mysql
.
port
);
add_int_to_prompt
(
mysql
.
port
);
else
else
processed_prompt
.
append
(
strrchr
(
mysql
.
unix_socket
,
'/'
)
+
1
);
{
char
*
pos
=
strrchr
(
mysql
.
unix_socket
,
'/'
);
processed_prompt
.
append
(
pos
?
pos
+
1
:
mysql
.
unix_socket
);
}
break
;
break
;
case
'U'
:
case
'U'
:
if
(
!
full_username
)
if
(
!
full_username
)
...
...
sql/mysqld.cc
View file @
c42e94a6
...
@@ -2371,9 +2371,9 @@ The server will not act as a slave.");
...
@@ -2371,9 +2371,9 @@ The server will not act as a slave.");
sql_print_error
(
"Warning: Can't create thread to manage maintenance"
);
sql_print_error
(
"Warning: Can't create thread to manage maintenance"
);
}
}
if
(
unix_sock
==
INVALID_SOCKET
)
printf
(
ER
(
ER_READY
),
my_progname
,
server_version
,
mysql_unix_port
[
0
]
=
0
;
((
unix_sock
==
INVALID_SOCKET
)
?
(
char
*
)
""
:
mysql_unix_port
),
printf
(
ER
(
ER_READY
),
my_progname
,
server_version
,
mysql_unix_port
,
mysql_port
);
mysql_port
);
fflush
(
stdout
);
fflush
(
stdout
);
#ifdef __NT__
#ifdef __NT__
...
...
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