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
e0cca130
Commit
e0cca130
authored
Mar 06, 2009
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for problems with tailcall optimisation and DTrace
parent
9cf08c21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sql/mysqld.cc
sql/mysqld.cc
+5
-1
No files found.
sql/mysqld.cc
View file @
e0cca130
...
@@ -1764,9 +1764,13 @@ void close_connection(THD *thd, uint errcode, bool lock)
...
@@ -1764,9 +1764,13 @@ void close_connection(THD *thd, uint errcode, bool lock)
net_send_error
(
thd
,
errcode
,
ER
(
errcode
));
/* purecov: inspected */
net_send_error
(
thd
,
errcode
,
ER
(
errcode
));
/* purecov: inspected */
vio_close
(
vio
);
/* vio is freed in delete thd */
vio_close
(
vio
);
/* vio is freed in delete thd */
}
}
MYSQL_CONNECTION_DONE
((
int
)
errcode
,
thd
->
thread_id
);
if
(
lock
)
if
(
lock
)
(
void
)
pthread_mutex_unlock
(
&
LOCK_thread_count
);
(
void
)
pthread_mutex_unlock
(
&
LOCK_thread_count
);
MYSQL_CONNECTION_DONE
((
int
)
errcode
,
thd
->
thread_id
);
if
(
MYSQL_CONNECTION_DONE_ENABLED
())
{
sleep
(
0
);
/* Workaround to avoid tailcall optimisation */
}
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
#endif
/* EMBEDDED_LIBRARY */
#endif
/* EMBEDDED_LIBRARY */
...
...
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