* feat:[TS-5617]use last_row cache mode if creating stream in fill_history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* feat(stream): optimize client logic of creating stream if with history
* fix: heap use after free
* feat: add log
* fix: ci case error
* fix: compile error in windows
* fix: ci case error
* fix: heap user after free
* fix: memory leak
* fix: ci case error
* fix: ci case error
* fix: ci case error
---------
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>