提交 a9708f2f 编写于 作者: G Ganlin Zhao

[TD-10532]<enhance>: schemaless add hour/minute support

上级 65e4e0e6
......@@ -823,7 +823,8 @@ def taos_schemaless_insert(connection, lines, protocol, precision):
lines = (c_char_p(line.encode("utf-8")) for line in lines)
lines_type = ctypes.c_char_p * num_of_lines
p_lines = lines_type(*lines)
precision = c_char_p(precision.encode("utf-8"))
if precision != None:
precision = c_char_p(precision.encode("utf-8"))
errno = _libtaos.taos_schemaless_insert(connection, p_lines, num_of_lines, protocol, precision)
if errno != 0:
raise SchemalessError("schemaless insert error", errno)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册