diff options
| author | fumingwei <[email protected]> | 2023-10-09 16:04:05 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2023-10-09 16:04:05 +0800 |
| commit | 9c07e4db631a44c9c6c230baf16acd65bc6c4b8c (patch) | |
| tree | e31fab99e85269a712ebc76db669d86e9a546a95 | |
| parent | 5eab9ade75989f8912c3caf7ea1078cf6e90a843 (diff) | |
bugfix:修改python调用fieldstat_is_hll返回值错误问题v4.3.1c
| -rw-r--r-- | src/exporter/fieldstat_exporter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exporter/fieldstat_exporter.py b/src/exporter/fieldstat_exporter.py index 1f1b16f..84f9a08 100644 --- a/src/exporter/fieldstat_exporter.py +++ b/src/exporter/fieldstat_exporter.py @@ -50,7 +50,7 @@ class FieldstatAPI: libfieldstat.fieldstat_histogram_value_sum.restype = ctypes.c_longlong libfieldstat.fieldstat_is_hll.argtypes = [ctypes.c_char_p] - libfieldstat.fieldstat_is_hll.restype = ctypes.c_longlong + libfieldstat.fieldstat_is_hll.restype = ctypes.c_bool logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(message)s') |
