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
da9f7c7e
Commit
da9f7c7e
authored
Jan 17, 2005
by
reggie@bob.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
into bob.(none):/home/reggie/bk/mysql-4.1
parents
63689a21
e1dc421a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
client/mysql.cc
client/mysql.cc
+9
-1
sql/sql_lex.cc
sql/sql_lex.cc
+1
-0
No files found.
BitKeeper/etc/logging_ok
View file @
da9f7c7e
...
...
@@ -181,6 +181,7 @@ ram@mysql.r18.ru
ram@ram.(none)
ranger@regul.home.lan
rburnett@build.mysql.com
reggie@bob.(none)
root@home.(none)
root@mc04.(none)
root@x3.internalnet
...
...
client/mysql.cc
View file @
da9f7c7e
...
...
@@ -3232,13 +3232,20 @@ static const char* construct_prompt()
break
;
}
case
'p'
:
{
#ifndef EMBEDDED_LIBRARY
if
(
!
connected
)
{
processed_prompt
.
append
(
"not_connected"
);
break
;
}
if
(
strstr
(
mysql_get_host_info
(
&
mysql
),
"TCP/IP"
)
||
const
char
*
host_info
=
mysql_get_host_info
(
&
mysql
);
if
(
strstr
(
host_info
,
"memory"
))
{
processed_prompt
.
append
(
mysql
.
host
);
}
else
if
(
strstr
(
host_info
,
"TCP/IP"
)
||
!
mysql
.
unix_socket
)
add_int_to_prompt
(
mysql
.
port
);
else
...
...
@@ -3247,6 +3254,7 @@ static const char* construct_prompt()
processed_prompt
.
append
(
pos
?
pos
+
1
:
mysql
.
unix_socket
);
}
#endif
}
break
;
case
'U'
:
if
(
!
full_username
)
...
...
sql/sql_lex.cc
View file @
da9f7c7e
...
...
@@ -912,6 +912,7 @@ int yylex(void *arg, void *yythd)
if
((
thd
->
client_capabilities
&
CLIENT_MULTI_STATEMENTS
)
&&
(
thd
->
command
!=
COM_PREPARE
))
{
lex
->
safe_to_cache_query
=
0
;
lex
->
found_colon
=
(
char
*
)
lex
->
ptr
;
thd
->
server_status
|=
SERVER_MORE_RESULTS_EXISTS
;
lex
->
next_state
=
MY_LEX_END
;
...
...
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