You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/01/11 10:14:28 UTC
[incubator-iotdb] branch fix_win_iotdb_env_bat created (now d4ec6af)
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a change to branch fix_win_iotdb_env_bat
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.
at d4ec6af avoid test failed in some WinOS for running iotdb-env.sh without parameter
This branch includes the following new commits:
new d4ec6af avoid test failed in some WinOS for running iotdb-env.sh without parameter
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-iotdb] 01/01: avoid test failed in some WinOS for
running iotdb-env.sh without parameter
Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch fix_win_iotdb_env_bat
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit d4ec6afef5a7fc1eab966c34138c9d747954c505
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sat Jan 11 18:14:03 2020 +0800
avoid test failed in some WinOS for running iotdb-env.sh without parameter
---
server/src/assembly/resources/conf/iotdb-env.bat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/assembly/resources/conf/iotdb-env.bat b/server/src/assembly/resources/conf/iotdb-env.bat
index fcf9fba..ce28f40 100644
--- a/server/src/assembly/resources/conf/iotdb-env.bat
+++ b/server/src/assembly/resources/conf/iotdb-env.bat
@@ -68,7 +68,7 @@ IF "%BIT_VERSION%" == "64-Bit" (
:end_config_setting
@REM set gc log.
-IF "%1" equ "printgc" (
+IF "x%1" equ "xprintgc" (
IF %JAVA_VERSION% == 8 (
md %IOTDB_HOME%\logs
set IOTDB_HEAP_OPTS=%IOTDB_HEAP_OPTS% -Xloggc:"%IOTDB_HOME%\logs\gc.log" -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCApplicationStoppedTime -XX:+PrintPromotionFailure -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=10M