Remove the wrong comments.
This commit is contained in:
parent
4f9fa3bb3e
commit
badc1037a9
|
@ -294,9 +294,9 @@ int32_t walRollback(SWal *pWal, int64_t ver) {
|
||||||
static int32_t walRollImpl(SWal *pWal) {
|
static int32_t walRollImpl(SWal *pWal) {
|
||||||
int32_t code = 0, lino = 0;
|
int32_t code = 0, lino = 0;
|
||||||
|
|
||||||
// if (pWal->cfg.level == TAOS_WAL_SKIP && pWal->pIdxFile != NULL && pWal->pLogFile != NULL) {
|
if (pWal->cfg.level == TAOS_WAL_SKIP && pWal->pIdxFile != NULL && pWal->pLogFile != NULL) {
|
||||||
// TAOS_RETURN(TSDB_CODE_SUCCESS);
|
TAOS_RETURN(TSDB_CODE_SUCCESS);
|
||||||
// }
|
}
|
||||||
if (pWal->pIdxFile != NULL) {
|
if (pWal->pIdxFile != NULL) {
|
||||||
if ((code = taosFsyncFile(pWal->pIdxFile)) != 0) {
|
if ((code = taosFsyncFile(pWal->pIdxFile)) != 0) {
|
||||||
TAOS_CHECK_GOTO(terrno, &lino, _exit);
|
TAOS_CHECK_GOTO(terrno, &lino, _exit);
|
||||||
|
|
Loading…
Reference in New Issue