File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ using st_::span;
39
39
/* * The doublewrite buffer */
40
40
buf_dblwr_t * buf_dblwr = NULL ;
41
41
42
- /* * Set to TRUE when the doublewrite buffer is being created */
43
- ibool buf_dblwr_being_created = FALSE ;
44
-
45
42
#define TRX_SYS_DOUBLEWRITE_BLOCKS 2
46
43
47
44
/* ***************************************************************/ /* *
@@ -144,7 +141,6 @@ buf_dblwr_create()
144
141
145
142
start_again:
146
143
mtr.start ();
147
- buf_dblwr_being_created = TRUE ;
148
144
149
145
buf_block_t *trx_sys_block = buf_dblwr_trx_sys_get (&mtr);
150
146
@@ -157,7 +153,6 @@ buf_dblwr_create()
157
153
buf_dblwr_init (TRX_SYS_DOUBLEWRITE + trx_sys_block->frame );
158
154
159
155
mtr.commit ();
160
- buf_dblwr_being_created = FALSE ;
161
156
return (true );
162
157
} else {
163
158
if (UT_LIST_GET_FIRST (fil_system.sys_space ->chain )->size
@@ -307,7 +302,6 @@ buf_dblwr_create()
307
302
308
303
/* Flush the modified pages to disk and make a checkpoint */
309
304
log_make_checkpoint ();
310
- buf_dblwr_being_created = FALSE ;
311
305
312
306
/* Remove doublewrite pages from LRU */
313
307
buf_pool_invalidate ();
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ Created 2011/12/19 Inaam Rana
34
34
35
35
/** Doublewrite system */
36
36
extern buf_dblwr_t * buf_dblwr ;
37
- /** Set to TRUE when the doublewrite buffer is being created */
38
- extern ibool buf_dblwr_being_created ;
39
37
40
38
/** Create the doublewrite buffer if the doublewrite buffer header
41
39
is not present in the TRX_SYS page.
You can’t perform that action at this time.
0 commit comments