search for: get_fields_count

Displaying 3 results from an estimated 3 matches for "get_fields_count".

2019 Feb 03
2
Crash when using dict quotas with sqlite database
Hello John, I tried (until now) to get a valuable backtrace, but it seems that GDB can't resolve all symbols. This is what systemd-coredump is giving me: Stack trace of thread 22359: #0? 0x0000638167eaf062 event_unref (libdovecot.so.0) #1? 0x000004a58a212151 n/a (dict) #2? 0x000004a58a211333 n/a (dict) #3? 0x000004a58a20514d n/a (dict) #4? 0x0000638167e556f2 dict_transaction_begin
2019 Feb 03
2
Crash when using dict quotas with sqlite database
...at lib-event.c:217 event = 0x1400 __func__ = "event_unref" #1 0x000000ccbcdb0151 in driver_sqlite_exec (_db=0xccf6c3d438, query=0xccbcdb2fcd "BEGIN TRANSACTION") at driver-sqlite.c:186 db = 0xccf6c3d438 result = {v = {free = 0x0, next_row = 0x0, get_fields_count = 0x0, get_field_name = 0x0, find_field = 0x0, get_field_value = 0x0, get_field_value_binary = 0x0, find_field_value = 0x0, get_values = 0x0, get_error = 0x0, more = 0x0}, refcount = 0, db = 0xccf6c3d438, fields = 0x0, map_size = 0, map = 0x0, fetch_dest = 0x0, event = 0xccf6c3e000, fe...
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...PLES_OK: + n_rows = PQntuples(pgr); + + dprintf(("%s: %p: %u rows", __func__, result, n_rows)); + break; + + default: + return -1; + } + + result->n_rows = n_rows; + result->api.v.next_row = multi_pgsql_result_next_row; + return n_rows; +} + +static unsigned multi_pgsql_result_get_fields_count(struct sql_result *r) +{ + struct multi_pgsql_result *result; + unsigned count; + + result = (void *)r; + count = PQnfields(result->pgr); + + dprintf(("%s: %p: %u", __func__, result, count)); + return count; +} + +static char const *multi_pgsql_result_get_field_name(struct sql_result...