Merge pull request #22549 from taosdata/fix/TD-25901-3.0

fix: taoslog file num limit on windows
This commit is contained in:
dapan1121 2023-08-25 11:24:13 +08:00 committed by GitHub
commit c126538f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ static void taosGetLogFileName(char *fn) {
}
static int32_t taosOpenLogFile(char *fn, int32_t maxLines, int32_t maxFileNum) {
#ifdef WINDOWS
#ifdef WINDOWS_STASH
/*
* always set maxFileNum to 1
* means client log filename is unique in windows