Skip to content

Commit 2132651

Browse files
committed
Remove some trailing whitespaces.
1 parent 5bf9e0f commit 2132651

File tree

5 files changed

+205
-212
lines changed

5 files changed

+205
-212
lines changed

sql/threadpool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ struct TP_pool
138138
#ifdef _WIN32
139139
struct TP_pool_win:TP_pool
140140
{
141-
TP_pool_win();
141+
TP_pool_win();
142142
virtual int init();
143143
virtual ~TP_pool_win();
144144
virtual TP_connection *new_connection(CONNECT *c);

sql/threadpool_common.cc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,24 @@ static inline TP_connection *get_TP_connection(THD *thd)
6060
/*
6161
Worker threads contexts, and THD contexts.
6262
=========================================
63-
64-
Both worker threads and connections have their sets of thread local variables
65-
At the moment it is mysys_var (this has specific data for dbug, my_error and
63+
64+
Both worker threads and connections have their sets of thread local variables
65+
At the moment it is mysys_var (this has specific data for dbug, my_error and
6666
similar goodies), and PSI per-client structure.
6767
6868
Whenever query is executed following needs to be done:
6969
7070
1. Save worker thread context.
7171
2. Change TLS variables to connection specific ones using thread_attach(THD*).
72-
This function does some additional work , e.g setting up
72+
This function does some additional work , e.g setting up
7373
thread_stack/thread_ends_here pointers.
7474
3. Process query
7575
4. Restore worker thread context.
7676
77-
Connection login and termination follows similar schema w.r.t saving and
78-
restoring contexts.
77+
Connection login and termination follows similar schema w.r.t saving and
78+
restoring contexts.
7979
80-
For both worker thread, and for the connection, mysys variables are created
80+
For both worker thread, and for the connection, mysys variables are created
8181
using my_thread_init() and freed with my_thread_end().
8282
8383
*/
@@ -154,7 +154,7 @@ static void thread_attach(THD* thd)
154154
}
155155

156156
/*
157-
Determine connection priority , using current
157+
Determine connection priority , using current
158158
transaction state and 'threadpool_priority' variable value.
159159
*/
160160
static TP_PRIORITY get_priority(TP_connection *c)
@@ -289,7 +289,7 @@ static void threadpool_remove_connection(THD *thd)
289289
delete thd;
290290

291291
/*
292-
Free resources associated with this connection:
292+
Free resources associated with this connection:
293293
mysys thread_var and PSI thread.
294294
*/
295295
my_thread_end();
@@ -323,8 +323,8 @@ static int threadpool_process_request(THD *thd)
323323

324324
if (thd->killed >= KILL_CONNECTION)
325325
{
326-
/*
327-
killed flag was set by timeout handler
326+
/*
327+
killed flag was set by timeout handler
328328
or KILL command. Return error.
329329
*/
330330
retval= 1;

0 commit comments

Comments
 (0)