search for: value_count

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

2011 Jun 22
2
Panic: doveadm quota get -A
...2:2.0.13-0~auto+48 sieve filters support for Dovecot It seems all is working fine, except "doveadm quota get -A". It gives me the following error: # doveadm quota get -A doveadm: Panic: file doveadm-print-table.c: line 58 (doveadm_calc_header_length): assertion failed: ((value_count % hdr_count) == 0) doveadm: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x3fd0a) [0x7fb901d0fd0a] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7fb901d0fdf2] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7fb901ce916f] -> doveadm() [0x416bed] -> dov...
2010 Jun 21
2
Panic: file doveadm-print-table.c: line 56 assertion failed
Hi Timo, `doveadm -f table mailbox status -u bar all inbox\*` aborts with: Panic: file doveadm-print-table.c: line 56 (doveadm_calc_header_length): assertion failed: ((value_count % hdr_count) == 0) Backtrace is attached. Regards, Pascal -- The trapper recommends today: c01dcofe.1017215 at localdomain.org -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gdb.txt URL: <http://dovecot.org/pipermail/dovecot/attachments/...
2006 Nov 08
1
Muliple SQL statements / Return percentage of rows
I''m stumped... I need to return a number of rows with the top & bottom x percentage of rows removed in mysql 4.x e.g. SELECT COUNT(*) value_count, SUM(deals.value) / COUNT(*) average_value FROM deals ORDER BY deals.value Now say that returns the sum of 100 deals, what I actually need to do is return the count & sum of rows 10-90 (i.e. the top & bottom 10% rows removed) I found this which I can adapt but it requires two sql statem...
2008 Sep 22
1
Ccreating methods on the fly / counting distinct field values
...distinct_count_postcode method which achieves all of the above for the postcode field. I can then call this in any of my model classes. So, can anyone point me in the direction of a tutorial for creating methods on the fly using symbols? If anyone can show a better way to perform the ActiveRecord value_count logic, that would be great too :-) Thanks, Pat -- View this message in context: http://www.nabble.com/Ccreating-methods-on-the-fly---counting-distinct-field-values-tp19605876p19605876.html Sent from the RubyOnRails Users mailing list archive at Nabble.com. --~--~---------~--~----~----------...