From af191e7ec5c02355fe2dd68336cd33e0f106e53d Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Fri, 22 Oct 2021 20:13:00 +0800 Subject: [PATCH] fixed taos_schemaless_insert return 32 bytes address --- src/connector/python/taos/cinterface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/connector/python/taos/cinterface.py b/src/connector/python/taos/cinterface.py index 1223b45448..6182d7fa7b 100644 --- a/src/connector/python/taos/cinterface.py +++ b/src/connector/python/taos/cinterface.py @@ -64,6 +64,8 @@ _libtaos.taos_consume.restype = ctypes.c_void_p _libtaos.taos_fetch_lengths.restype = ctypes.POINTER(ctypes.c_int) _libtaos.taos_free_result.restype = None _libtaos.taos_query.restype = ctypes.POINTER(ctypes.c_void_p) +_libtaos.taos_schemaless_insert.restype = ctypes.c_void_p + try: _libtaos.taos_stmt_errstr.restype = c_char_p except AttributeError: -- GitLab