@cryptotaxi247 / netdata-1 / commits / eca84a982

use sqlite3_status64() (#19347)

Costa Tsaousis committed Jan 8, 2025 at 13:52 UTC eca84a982c797b6e8e3672f0a368d50d556ad1db
1 file changed +2 -2
src/daemon/pulse/pulse-daemon-memory.c
+2 -2
@@ -95,8 +95,8 @@ void pulse_daemon_memory_do(bool extended) {
95 netdata_buffers_statistics.buffers_web +
96 replication_sender_allocated_buffers() + aral_by_size_free_bytes() + judy_aral_free_bytes();
97
98 - int sqlite3_memory_used_current = 0, sqlite3_memory_used_highwater = 0;
99 - sqlite3_status(SQLITE_STATUS_MEMORY_USED, &sqlite3_memory_used_current, &sqlite3_memory_used_highwater, 1);
98 + sqlite3_int64 sqlite3_memory_used_current = 0, sqlite3_memory_used_highwater = 0;
99 + sqlite3_status64(SQLITE_STATUS_MEMORY_USED, &sqlite3_memory_used_current, &sqlite3_memory_used_highwater, 1);
100
101 size_t strings_memory = 0, strings_index = 0;
102 string_statistics(NULL, NULL, NULL, NULL, NULL, &strings_memory, &strings_index, NULL, NULL);