len+=snprintf(pstr+len,superTblInfo->maxSqlLen-len,"insert into %s.%s%d using %s.%s tags %s values ",winfo->db_name,superTblInfo->childTblPrefix,tbl_id,winfo->db_name,superTblInfo->sTblName,tagsValBuf);
len+=snprintf(pstr+len,
}else{
superTblInfo->maxSqlLen-len,
len+=snprintf(pstr+len,superTblInfo->maxSqlLen-len," %s.%s%d using %s.%s tags %s values ",winfo->db_name,superTblInfo->childTblPrefix,tbl_id,winfo->db_name,superTblInfo->sTblName,tagsValBuf);
"insert into %s.%s%d using %s.%s tags %s values ",
len+=snprintf(pstr+len,superTblInfo->maxSqlLen-len,"insert into %s.%s%d using %s.%s tags %s values",winfo->db_name,superTblInfo->childTblPrefix,tID,winfo->db_name,superTblInfo->sTblName,tagsValBuf);
printf("====thread[%d] completed total inserted rows: %"PRId64", total affected rows: %"PRId64"====\n",winfo->threadID,totalRowsInserted,totalAffectedRows);
printf("====thread[%d] completed total inserted rows: %"PRId64", total affected rows: %"PRId64"====\n",