Commit 895c126a authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-15528 fixup: Remove references to background scrubbing

parent 7b51d11c
...@@ -2262,22 +2262,6 @@ struct dict_table_t { ...@@ -2262,22 +2262,6 @@ struct dict_table_t {
detect this and will eventually quit sooner. */ detect this and will eventually quit sooner. */
#define BG_STAT_SHOULD_QUIT (1 << 1) #define BG_STAT_SHOULD_QUIT (1 << 1)
/** The state of the background stats thread wrt this table.
See BG_STAT_NONE, BG_STAT_IN_PROGRESS and BG_STAT_SHOULD_QUIT.
Writes are covered by dict_sys.mutex. Dirty reads are possible. */
#define BG_SCRUB_IN_PROGRESS ((byte)(1 << 2))
/*!< BG_SCRUB_IN_PROGRESS is set in
stats_bg_flag when the background
scrub code is working on this table. The DROP
TABLE code waits for this to be cleared
before proceeding. */
#define BG_STAT_SHOULD_QUIT (1 << 1)
#define BG_IN_PROGRESS (BG_STAT_IN_PROGRESS | BG_SCRUB_IN_PROGRESS)
/** The state of the background stats thread wrt this table. /** The state of the background stats thread wrt this table.
See BG_STAT_NONE, BG_STAT_IN_PROGRESS and BG_STAT_SHOULD_QUIT. See BG_STAT_NONE, BG_STAT_IN_PROGRESS and BG_STAT_SHOULD_QUIT.
Writes are covered by dict_sys.mutex. Dirty reads are possible. */ Writes are covered by dict_sys.mutex. Dirty reads are possible. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment