search for: __format_query_db

Displaying 1 result from an estimated 1 matches for "__format_query_db".

2017 Oct 19
0
[Bug 1192] New: ULOGD_RET_RAWSTR type is not listed on ulogd_key_size() and type_to_string()
...ult in allocating 40 chars 2. Add on sql_createstmt() "elseif(key->type == ULOGD_RET_RAWSTR) { size += 35; }" 3. Use the ULOGD_RET_IP6ADDR type on IP2BIN (this type doesnt seems to be used anywhere else) and remove ULOGD_RET_RAWSTR ; this type would also need to be added to the __format_query_db switch() on db.c The first 2 solution might be problematic if RAWSTR is used by other plugins to store lengthier informations. Patch proposal implementing the 1st solution and adding the type on type_to_string() : --- src/ulogd.c 2016-12-17 16:25:45.000000000 +0100 +++ src/ulogd.c 2017-10-...