TDengine/source/dnode
Zhixiao Bao 28625294a2
fix: enable taosk to compile on Windows. (#34936)
* fix: use etool.taoskFile() in test_key_generation for Windows compat.

* fix: resolve taosk.exe path on Windows in Security tests

On Windows the taosk binary is taosk.exe. Three fixes:

- taosd.py: use platform.system() to append .exe when looking up taosk
  path during encrypt-key setup before taosd starts; previously the
  lookup always failed silently so master.bin was never generated
- test_key_update.py: replace hardcoded 'taosk' with etool.taoskFile()
- test_key_backup_restore.py: same fix as above

Made-with: Cursor

* fix: build taosk on windows.

* fix: taosd error at windows.

* fix: skip AES-128-CBC test on Windows (Linux enterprise only)

AES-128-CBC encryption algorithm is only registered in mndEncryptAlgr.c
when TD_ENTERPRISE && LINUX is defined. The Windows builtin CBC
implementation always uses SM4 regardless of algorithm name, so
AES-128-CBC cannot be supported on Windows. Skip the AES database
creation and verification steps on non-Linux platforms.

Made-with: Cursor

* Revert "fix: skip AES-128-CBC test on Windows (Linux enterprise only)"

This reverts commit 67e0e81ef9.
2026-03-26 10:27:56 +08:00
..
bnode fix[TD-37628]: fix bnode creation failure on windows (#32739) 2025-08-26 15:47:55 +08:00
mgmt fix: enable taosk to compile on Windows. (#34936) 2026-03-26 10:27:56 +08:00
mnode fix: failed test cases on windows (#34883) 2026-03-26 10:05:06 +08:00
qnode feat: support IN/NOT IN with subquery (#34290) 2026-01-22 13:39:05 +08:00
snode fix: failed test cases on windows (#34883) 2026-03-26 10:05:06 +08:00
vnode fix: add missing super tables to sysdb log (#34941) 2026-03-26 10:25:42 +08:00
xnode feat(xnode): support xnode feature on Windows platform (#34776) 2026-03-15 09:21:56 +08:00
CMakeLists.txt feat(taosx): support distributed taosx (#34126) 2026-01-01 14:51:03 +08:00