提交 397faaff 编写于 作者: H huili

[modify timestamp]

上级 7873386c
...@@ -167,7 +167,7 @@ void* insert_rows(void *sarg) ...@@ -167,7 +167,7 @@ void* insert_rows(void *sarg)
if (g_thread_exit_flag) break; if (g_thread_exit_flag) break;
index++; index++;
sprintf(command, "insert into %s values (now, %d)", winfo->tbl_name, index); sprintf(command, "insert into %s values (%ld, %d)", winfo->tbl_name, 1546300800000+index*1000, index);
if (taos_query(taos, command)) { if (taos_query(taos, command)) {
printf("failed to insert row [%s], reason:%s\n", command, taos_errstr(taos)); printf("failed to insert row [%s], reason:%s\n", command, taos_errstr(taos));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册