diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-07-17 21:52:08 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-07-17 21:52:08 +0400 |
commit | 2368f8895d10a3d883a6a0ffe33b2b222caf7f1a (patch) | |
tree | 1f674b38702d87f5b13bbb587c8939bc842e9926 /sql/my_apc.h | |
parent | a49b4c970fe582919d89109e0cc3ebe2558269cd (diff) | |
download | mariadb-git-2368f8895d10a3d883a6a0ffe33b2b222caf7f1a.tar.gz |
MWL#182: Explain running statements
- Address feedback from the second code review.
Diffstat (limited to 'sql/my_apc.h')
-rw-r--r-- | sql/my_apc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/my_apc.h b/sql/my_apc.h index 5473600bae6..7f19809c082 100644 --- a/sql/my_apc.h +++ b/sql/my_apc.h @@ -1,3 +1,5 @@ +#ifndef INCLUDES_MY_APC_H +#define INCLUDES_MY_APC_H /* Copyright (c) 2011 - 2012, Monty Program Ab @@ -93,7 +95,7 @@ private: We use this structure, because we - process requests sequentially: requests are added at the end of the list and removed from the front. With circular list, we can keep one - pointer. + pointer, and access both front an back of the list with it. - a thread that has posted a request may time out (or be KILLed) and cancel the request, which means we need a fast request-removal operation. @@ -132,3 +134,5 @@ private: void init_show_explain_psi_keys(void); #endif +#endif //INCLUDES_MY_APC_H + |