• sangshuduo's avatar
    Hotfix/sangshuduo/td 3197 taosdemo coverity scan for master (#8004) · a8565f9a
    sangshuduo 提交于
    * [TD-3197]<fix>: taosdemo and taosdump coverity scan issues.
    
    * exit if read sample file failed.
    
    * fix converity scan issue.
    
    * fix coverity scan issue.
    
    * fix coverity scan memory leak.
    
    * fix resource leak reported by coverity scan.
    
    * fix taosdemo coverity scan issue.
    
    * fix tcsetattr and getchar return value determination bug.
    
    * fix coverity scan issue.
    
    * fix two more coverity scan issues.
    
    * fix stmt batch coverity scan issue.
    
    * change to portable format.
    Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
    a8565f9a
taosdemo.c 425.2 KB