Haonan
Haonan
cp #13068
## Description cp #12720
## Description Draft
Fixes [https://github.com/apache/tsfile/security/code-scanning/5](https://github.com/apache/tsfile/security/code-scanning/5) _Suggested fixes powered by Copilot Autofix. Review carefully before merging._
Tracking issue for: - [ ] https://github.com/apache/tsfile/security/code-scanning/5 
## Description As title. The previous PR https://github.com/apache/iotdb/pull/13864 doesn't clean wal node when drop database.
## Description In this PR, if the row number of a memory chunk exceeded the `avgSeriesPointNumberThreshold`, or the size of a binary type memory chunk exceeded the `targetChunkSize`, this memory...
Potential fix for [https://github.com/apache/tsfile/security/code-scanning/17](https://github.com/apache/tsfile/security/code-scanning/17) To fix the issue, we need to ensure that the multiplication is performed using a larger integer type (e.g., `int64_t`) to prevent overflow. This can be...
**Is your feature request related to a problem? Please describe.** We are using drill-fmpp-maven-plugin in IoTDB project. However, drill-fmpp-maven-plugin will download some useless xml files, which takes too much time...