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
22733578
Commit
22733578
authored
Sep 29, 2009
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Plain Diff
merging
parents
8d3d35ea
dfd8880d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+3
-0
mysql-test/include/concurrent.inc
mysql-test/include/concurrent.inc
+0
-2
sql/sql_show.cc
sql/sql_show.cc
+1
-1
No files found.
libmysqld/lib_sql.cc
View file @
22733578
...
@@ -142,6 +142,8 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
...
@@ -142,6 +142,8 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
if
(
!
skip_check
)
if
(
!
skip_check
)
result
=
thd
->
is_error
()
?
-
1
:
0
;
result
=
thd
->
is_error
()
?
-
1
:
0
;
thd
->
mysys_var
=
0
;
#if defined(ENABLED_PROFILING) && defined(COMMUNITY_SERVER)
#if defined(ENABLED_PROFILING) && defined(COMMUNITY_SERVER)
thd
->
profiling
.
finish_current_query
();
thd
->
profiling
.
finish_current_query
();
#endif
#endif
...
@@ -634,6 +636,7 @@ void *create_embedded_thd(int client_flag)
...
@@ -634,6 +636,7 @@ void *create_embedded_thd(int client_flag)
thread_count
++
;
thread_count
++
;
threads
.
append
(
thd
);
threads
.
append
(
thd
);
thd
->
mysys_var
=
0
;
return
thd
;
return
thd
;
err:
err:
delete
(
thd
);
delete
(
thd
);
...
...
mysql-test/include/concurrent.inc
View file @
22733578
...
@@ -25,8 +25,6 @@
...
@@ -25,8 +25,6 @@
# new wrapper t/concurrent_innodb_safelog.test
# new wrapper t/concurrent_innodb_safelog.test
#
#
--
source
include
/
not_embedded
.
inc
connection
default
;
connection
default
;
#
#
# Show prerequisites for this test.
# Show prerequisites for this test.
...
...
sql/sql_show.cc
View file @
22733578
...
@@ -1873,7 +1873,7 @@ int fill_schema_processlist(THD* thd, TABLE_LIST* tables, COND* cond)
...
@@ -1873,7 +1873,7 @@ int fill_schema_processlist(THD* thd, TABLE_LIST* tables, COND* cond)
tmp
->
mysys_var
->
current_cond
?
tmp
->
mysys_var
->
current_cond
?
"Waiting on cond"
:
NullS
);
"Waiting on cond"
:
NullS
);
#else
#else
val
=
(
char
*
)
"Writing to net"
;
val
=
(
char
*
)
(
tmp
->
proc_info
?
tmp
->
proc_info
:
NullS
)
;
#endif
#endif
if
(
val
)
if
(
val
)
{
{
...
...
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