Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit f6414ee

Browse files
committed
fix insert resp
1 parent d15ec97 commit f6414ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

databend_py/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from .client import Client
22
from .connection import Connection
33

4-
VERSION = (0, 1, 4)
4+
VERSION = (0, 1, 5)
55
__version__ = '.'.join(str(x) for x in VERSION)
66

77
__all__ = ['Client', 'Connection']

databend_py/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def execute(self, query, params=None, with_column_types=False,
105105

106106
if is_insert:
107107
rv = self.process_insert_query(query, params)
108-
return rv
108+
return [], rv
109109

110110
column_types, rv = self.process_ordinary_query(
111111
query, params=params, with_column_types=with_column_types,

0 commit comments

Comments
 (0)