You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2025/10/11 08:05:28 UTC
(iotdb) 01/01: Fix that quotes cannot be passed to start-cli-table.bat
This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch fix_-e_with_win_table_cli
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 51a46307fc46767ad57e593aabd4f37fc97fb6af
Author: Tian Jiang <jt...@163.com>
AuthorDate: Sat Oct 11 16:05:09 2025 +0800
Fix that quotes cannot be passed to start-cli-table.bat
---
scripts/sbin/windows/start-cli-table.bat | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/scripts/sbin/windows/start-cli-table.bat b/scripts/sbin/windows/start-cli-table.bat
index 7812ff565b2..254b430b338 100644
--- a/scripts/sbin/windows/start-cli-table.bat
+++ b/scripts/sbin/windows/start-cli-table.bat
@@ -34,15 +34,5 @@ if not exist "%CLI_SCRIPT%" (
REM Execute main script with:
REM Pass all arguments through and add -sql_dialect table if not already specified
setlocal
-set ARGS=%*
-if "%ARGS%"=="" (
- "%CLI_SCRIPT%" -sql_dialect table
-) else (
- echo %ARGS% | find /i "-sql_dialect " >nul
- if errorlevel 1 (
- "%CLI_SCRIPT%" -sql_dialect table %*
- ) else (
- "%CLI_SCRIPT%" %*
- )
-)
+"%CLI_SCRIPT%" -sql_dialect table %*
endlocal
\ No newline at end of file