search for: find_field

Displaying 4 results from an estimated 4 matches for "find_field".

Did you mean: file_field
2010 Oct 14
1
Cucumber Selenium web step to verify value of input field
...t;5" Then the "#travel_card_number_gate" field should contain "5" From web_steps.rb Then /^the "([^\"]*)" field(?: within "([^\"]*)")? should contain "([^\"]*)"$/ do |field, selector, value| with_scope(selector) do field = find_field(field) field_value = (field.tag_name == ''textarea'') ? field.text : field.value if field_value.respond_to? :should field_value.should =~ /#{value}/ else assert_match(/#{value}/, field_value) end end end -- You received this message because you are su...
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
...__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, fetch_dest_size = 0, error_type = SQL_RESU...
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...(struct sql_result *r, + unsigned i) +{ + struct multi_pgsql_result *result; + char const *name; + + result = (void *)r; + name = PQfname(result->pgr, i); + + dprintf(("%s: %p: %u: '%s'", __func__, result, i, name)); + return name; +} + +static int multi_pgsql_result_find_field(struct sql_result *r, + char const *fname) +{ + struct multi_pgsql_result *result; + int i; + + result = (void *)r; + i = PQfnumber(result->pgr, fname); + + if (i == -1) { + i_info("%s: %p: no field named '%s'", + __func__, result, fname); + return -1; + } + + d...