We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 102e19d commit 6bbddcbCopy full SHA for 6bbddcb
chdbstable/chdb.h
@@ -20,9 +20,23 @@ struct CHDB_EXPORT local_result
20
uint64_t bytes_read;
21
};
22
23
+struct CHDB_EXPORT local_result_v2
24
+{
25
+ char * buf;
26
+ size_t len;
27
+ void * _vec; // std::vector<char> *, for freeing
28
+ double elapsed;
29
+ uint64_t rows_read;
30
+ uint64_t bytes_read;
31
+ char * error_message;
32
+};
33
+
34
CHDB_EXPORT struct local_result * query_stable(int argc, char ** argv);
35
CHDB_EXPORT void free_result(struct local_result * result);
36
37
+CHDB_EXPORT struct local_result_v2 * query_stable_v2(int argc, char ** argv);
38
+CHDB_EXPORT void free_result_v2(struct local_result_v2 * result);
39
40
#ifdef __cplusplus
41
}
42
#endif
0 commit comments